briansmith / ring

Safe, fast, small crypto using Rust
Other
3.76k stars 708 forks source link

Build fails on i386: evaluation of constant value failed #2006

Closed yurivict closed 6 months ago

yurivict commented 7 months ago
error[E0080]: evaluation of constant value failed
  --> /wrkdirs/usr/ports/devel/ruff/work/ruff-0.3.3/cargo-crates/ring-0.17.8/src/cpu/intel.rs:28:9
   |
28 |         assert!(cfg!(target_feature = "sse") && cfg!(target_feature = "sse2"));
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: cfg!(target_feature = "sse") && cfg!(target_feature = "sse2")', /wrkdirs/usr/ports/devel/ruff/work/ruff-0.3.3/cargo-crates/ring-0.17.8/src/cpu/intel.rs:28:9
   |
   = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0080`.
error: could not compile `ring` (lib) due to 1 previous error

log

briansmith commented 6 months ago

Closing as a duplicate of issue #1999.