You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 10, 2026. It is now read-only.
cargo gpu build
[2025-06-11T05:46:30Z ERROR cargo_gpu] `cargo metadata` exited with an error: error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `/Users/legnitto/.rustup/toolchains/nightly-2024-11-22-aarch64-apple-darwin/bin/rustc - --crate-name ___ --print=file-names --target spirv-unknown-vulkan1.2 --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
--- stderr
error: Error loading target specification: Could not find specification for target "spirv-unknown-vulkan1.2". Run `rustc --print target-list` for a list of built-in targets
Error: `cargo metadata` exited with an error: error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `/Users/legnitto/.rustup/toolchains/nightly-2024-11-22-aarch64-apple-darwin/bin/rustc - --crate-name ___ --print=file-names --target spirv-unknown-vulkan1.2 --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
--- stderr
error: Error loading target specification: Could not find specification for target "spirv-unknown-vulkan1.2". Run `rustc --print target-list` for a list of built-in targets
Running with RUST_LOG=trace gave me nothing useful.
I followed the readme, force installed, and cargo-gpu did not work.
I get:
Running with
RUST_LOG=tracegave me nothing useful.I had this
rust-toolchain.tomlfile:Deleting the file made
cargo gpu buildwork