Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always specify cargo toolchain #32

Closed
wants to merge 1 commit into from

Conversation

fornwall
Copy link
Owner

@fornwall fornwall commented Jul 29, 2021

By always specifying a cargo toolchain (the +${TOOLCHAIN} option) we avoid being affected by rust-toolchain(.toml) files.

Fixes #31 (however, see that linked issue for comments about this change, and how it will break if cargo is not a rustup proxy command or a stable toolchain is not installed).

@fornwall fornwall force-pushed the ignore-rust-toolchain-files branch from f1abe12 to 37c88dc Compare July 29, 2021 09:44
By always specifying a cargo toolchain (the +${TOOLCHAIN} option) we
avoid being affected by rust-toolchain(.toml) files. Fixes #31.
@fornwall
Copy link
Owner Author

As this breaks when cargo is not a rustup proxy, let's close this in favour of #73, which avoids rust toolchain files by building with CWD set to the generated project directory, as suggested here.

@fornwall fornwall closed this Mar 23, 2023
@fornwall fornwall deleted the ignore-rust-toolchain-files branch March 24, 2023 15:10
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.

rust-toolchain affects which rustc version is used to execute a script
1 participant