Closed tarcieri closed 9 months ago
cc @bjorn3
It's clearly a Cranelift issue and I don't think we should do anything to address it.
Cranelift doesn't support these intrinsics yet, so compilation fails.
For the sake of accuracy, missing intrinsics trigger warnings about traps used instead of unimplemented intrinsics. Compilation does not fail!
Looks like this will be addressed by https://github.com/rust-lang/rustc_codegen_cranelift/pull/1425
Going to go ahead and close this.
See:
Cranelift doesn't support these intrinsics yet, so
compilation failsit inserts traps instead of using the intrinsics.I've suggested
cfg(aes_force_soft)
as a workaround, but it would be nice if this just worked, and even better if hardware acceleration worked.One option would be to use inline assembly, which would also provide an avenue to address #385.