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.
When running w/o a tty (for example, in CI), if you use a command where cargo-gpu needs to ask you something, you get a cryptic error. Adding --auto-install-rust-toolchain, which makes cargo-gpu not require a tty, shows no error.
2025-07-03T19:59:12Z INFO cargo_gpu::target_specs] target-specs: found crate `rustc_codegen_spirv-target-specs` with manifest at `/home/runner/.cargo/git/checkouts/rust-gpu-d06d15e2ba0f0ae2/30024f8/crates/rustc_codegen_spirv-target-specs/Cargo.toml`
[2025-07-03T19:59:12Z INFO cargo_gpu::target_specs] target-specs: found `rustc_codegen_spirv-target-specs` with `target-specs` directory `/home/runner/.cache/rust-gpu/codegen/https___github_com_rust-gpu_rust-gpu_git+30024f86/target-specs`
[2025-07-03T19:59:12Z INFO cargo_gpu::target_specs] target-specs resolution: coping target-specs from `/home/runner/.cache/rust-gpu/codegen/https___github_com_rust-gpu_rust-gpu_git+30024f86/target-specs`
[2025-07-03T19:59:12Z DEBUG cargo_gpu::install] ensure_toolchain_and_components_exist
[2025-07-03T19:59:12Z DEBUG cargo_gpu::install_toolchain] asking for consent to install the required toolchain
[2025-07-03T19:59:12Z ERROR cargo_gpu] ensuring toolchain and components exist
Caused by:
0: enabling raw mode
1: No such device or address (os error 6)
Error: ensuring toolchain and components exist
When running w/o a tty (for example, in CI), if you use a command where cargo-gpu needs to ask you something, you get a cryptic error. Adding
--auto-install-rust-toolchain, which makes cargo-gpu not require a tty, shows no error.