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 Oct 31, 2025. It is now read-only.
#[unroll::unroll_for_loops]fnunroll_loop(a:Vec3) -> Vec3{letmut b = Vec3::default();for i in0..3{
b[i] + 1.0;}
b
}
cargo +nightly build (base)
Compiling wgpu-example-runner v0.1.0 (/home/dvc/implicit/marching_rays/runner)
error: failed to run custom build commandfor`wgpu-example-runner v0.1.0 (/home/dvc/implicit/marching_rays/runner)`
Caused by:
process didn't exit successfully: `/home/dvc/implicit/marching_rays/target/debug/build/wgpu-example-runner-fbbe94bc606d1aa7/build-script-build` (exit code: 1) --- stderr Compiling wgpu-example-shader v0.1.0 (/home/dvc/implicit/marching_rays/shader) error[E0463]: can't find crate for`unroll`
--> shader/src/lib.rs:45:3
|
45 |#[unroll::unroll_for_loops]| ^^^^^^ can't find crate | = note: extern location for unroll is of an unknown type: /home/dvc/implicit/marching_rays/target/release/deps/libunroll-75b6e6a2c714c829.so = help: file name should be lib*.rlib or *..spv error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: could not compile `wgpu-example-shader` To learn more, run the command again with --verbose. Error: BuildFailed