Skip to content

error[E0658]: use of unstable library feature 'stdsimd' #2666

@Rimay

Description

@Rimay

When compile make for Building and Running an Oasis node in Unsafe non-SGX environment, following error occured:

*** Building Rust tools...

*** Building runtime: keymanager-runtime...
   Compiling ring v0.14.5 (https://github.com/akash-fortanix/ring?branch=sgx-target#5b5b3792)
error[E0658]: use of unstable library feature 'stdsimd'
  --> /home/yili/.cargo/git/checkouts/ring-26508f16fbb8e51e/5b5b379/src/cpu.rs:57:24
   |
57 |                     if is_x86_feature_detected!("mmx") {
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/27731
   = help: add `#![feature(stdsimd)]` to the crate attributes to enable
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `ring`.

To learn more, run the command again with --verbose.
Makefile:22: recipe for target 'build-runtimes' failed
make: *** [build-runtimes] Error 1

Is there a detailed solution?

Metadata

Metadata

Assignees

Labels

c:buildCategory: build environmentc:depsCategory: external dependenciesc:securityCategory: security sensitivep:0Priority: High! bugs, address immediately

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions