jalberse / shimmer

Physically based rendering in Rust
Apache License 2.0
33 stars 0 forks source link

Build error #83

Open zamazan4ik opened 5 months ago

zamazan4ik commented 5 months ago

Hi!

I tried to compile the project from the main branch, e1c6dec171399e3ab12401ae2567bb88b1eb2cd5 commit but on the Nightly compiler I get the following error:

cargo +nightly build --release --bin shimmer
   Compiling num-bigint v0.4.4
   Compiling ahash v0.7.7
   Compiling num-iter v0.1.43
   Compiling serde v1.0.193
   Compiling regex v1.10.2
   Compiling clap v4.4.18
   Compiling thiserror v1.0.56
   Compiling indicatif v0.17.7
error[E0635]: unknown feature `stdsimd`
  --> /home/zamazan4ik/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.7/src/lib.rs:33:42
   |
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `ahash` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

After a quick search, I found a similar topic - https://users.rust-lang.org/t/error-e0635-unknown-feature-stdsimd/106445 . I think the ahash library should be updated in shimmer.

Thank you.