-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels