bryant / argon2rs

The pure-Rust password hashing library running on Argon2.
MIT License
174 stars 19 forks source link

`cargo bench --features=simd` crashes the compiler #10

Closed upsuper closed 8 years ago

upsuper commented 8 years ago

I see the following log:

$ multirust run nightly cargo bench --features=simd
   Compiling argon2rs v0.2.1 (file:///Users/upsuper/Sources/argon2rs)
Assertion failed: (ReqTy && "extractvalue indices invalid!"), function getExtractValue, file /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/llvm/lib/IR/Constants.cpp, line 2157.
error: Could not compile `argon2rs`.

Looks like a compiler bug...

My rust version:

$ multirust run nightly rustc --version
rustc 1.10.0-nightly (764ef92ae 2016-05-19)

on OS X 10.10.

upsuper commented 8 years ago

Looks like it is from the test module in octword.

upsuper commented 8 years ago

Reported rust-lang/rust#33764.

bryant commented 8 years ago

That truly is unfortunate. Nonetheless, nice catch.