Skip to content

Make sure that cargo picks up rust-toolchain.toml changes#354

Open
nresare wants to merge 1 commit intoLukeMathWalker:mainfrom
nresare:rust_toolchain_fix
Open

Make sure that cargo picks up rust-toolchain.toml changes#354
nresare wants to merge 1 commit intoLukeMathWalker:mainfrom
nresare:rust_toolchain_fix

Conversation

@nresare
Copy link
Copy Markdown

@nresare nresare commented Apr 26, 2026

When cargo chef cook generates a rust-toolchain.toml file, this change ensures that the cargo build invocation picks up the the rust-toolchain.toml config by unsetting the RUSTUP_TOOLCHAIN environment variable.

Fixes #271

When cargo chef cook generates a rust-toolchain.toml file, this change
ensures that the cargo build invocation picks up the the
rust-toolchain.toml config by unsetting the RUSTUP_TOOLCHAIN environment
variable.

Fixes LukeMathWalker#271
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

toolchain in recipe.json is ignored in cargo chef cook

1 participant