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 }}
Repository navigation
cargo-gpu-install doesn't recompile things when code changes #606
Okay, I think things might work correctly for regular builds, but not for Clippy. I added panic at the end of build script to see what it emits, and turns out not much:
warning: `ab-proof-of-space-gpu` (build script) generated 1 warning
warning: ab-proof-of-space-gpu@0.1.0: warning: unknown lint: `clippy::large_unopt_stack_frames`
warning: ab-proof-of-space-gpu@0.1.0: --> crates/farmer/ab-proof-of-space-gpu/src/shader/find_proofs.rs:4:9
warning: ab-proof-of-space-gpu@0.1.0: |
warning: ab-proof-of-space-gpu@0.1.0: 4 | clippy::large_unopt_stack_frames,
warning: ab-proof-of-space-gpu@0.1.0: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::large_stack_frames`
warning: ab-proof-of-space-gpu@0.1.0: |
warning: ab-proof-of-space-gpu@0.1.0: = note: `#[warn(unknown_lints)]` on by default
warning: ab-proof-of-space-gpu@0.1.0:
error: failed to run custom build command for `ab-proof-of-space-gpu v0.1.0 (/web/github/abundance/crates/farmer/ab-proof-of-space-gpu)`
Caused by:
process didn't exit successfully: `/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu/b5a9dab21f4f837f/out/build_script_build` (exit status: 101)
--- stdout
cargo::rerun-if-env-changed=CLIPPY_ARGS
cargo::rerun-if-env-changed=MIRI_SYSROOT
cargo::rerun-if-env-changed=RUSTDOCFLAGS
cargo:rerun-if-changed=/web/github/abundance/Cargo.lock
cargo:rerun-if-env-changed=RUSTGPU_CODEGEN_ARGS
cargo:rerun-if-env-changed=RUSTGPU_RUSTFLAGS
cargo:rerun-if-env-changed=RUSTGPU_CARGOFLAGS
cargo::warning=warning: unknown lint: `clippy::large_unopt_stack_frames`
cargo::warning= --> crates/farmer/ab-proof-of-space-gpu/src/shader/find_proofs.rs:4:9
cargo::warning= |
cargo::warning=4 | clippy::large_unopt_stack_frames,
cargo::warning= | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::large_stack_frames`
cargo::warning= |
cargo::warning= = note: `#[warn(unknown_lints)]` on by default
cargo::warning=
cargo::rustc-env=SHADER_PATH=/home/nazar-pc/.cache/cargo/target/debug/build/ab-proof-of-space-gpu/92f2e9fbab0b78a0/out/empty.bin
--- stderr
thread 'main' (3734996) panicked at crates/farmer/ab-proof-of-space-gpu/build.rs:91:5:
explicit panic
Activity
Firestar99 commentedon May 31, 2026
Have you enabled
spirv_builder.build_script.defaults = true?nazar-pc commentedon May 31, 2026
Actually yes: https://github.com/nazar-pc/abundance/blob/962ff91eac83e9d8664a13ebf9094ec89696d278/crates/farmer/ab-proof-of-space-gpu/build.rs#L57
nazar-pc commentedon Nov 19, 2026
Okay, I think things might work correctly for regular builds, but not for Clippy. I added panic at the end of build script to see what it emits, and turns out not much:
Zero
.rsfiles in there.