-
Notifications
You must be signed in to change notification settings - Fork 32
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
error: building from local source while REQUIRED_RUST_TOOLCHAIN
doesn't match rust-toolchain.toml
.
#172
Comments
Hmm, I am on the same OS version with a M1 Pro and can't repro. I get a different (known, #29) error which can be worked around with cargo run --release --bin example-runner-wgpu |
I have tried this with
|
Version details:
|
(Just a minor GitHub style note: you need 3 backticks, i.e. ```, not just a single one, for multiline code blocks. I've also edited the existing comments for readability) This is the error:
Maybe we should put it on multiple lines and/or use There is no crash at any point, so the OS or suggestions to use I have no idea what state your code is in, but please make sure that On rust-gpu/crates/rustc_codegen_spirv/build.rs Lines 12 to 15 in 82a0f69
Lines 1 to 4 in 82a0f69
One or the other is likely changed locally for you, hence the error. |
REQUIRED_RUST_TOOLCHAIN
doesn't match rust-toolchain.toml
.
Expected Behaviour
Build
cargo run --bin example-runner-wgpu
orcargo run --bin example-runner-ash
successfully on macos.Example & Steps To Reproduce
cargo run --bin example-runner-wgpu
System Info
Backtrace
Summary:
Error Cause: The rustc_codegen_spirv build script requires a specific Rust toolchain version, which does not match the version specified in rust-toolchain.toml.
Standard Output: A notification to rerun the build if the environment variable RUSTGPU_SKIP_TOOLCHAIN_CHECK changes.
Standard Error: Clearly states the toolchain mismatch as the cause of the build failure.
The text was updated successfully, but these errors were encountered: