Skip to content

Commit a707a85

Browse files
committed
fixed for libstd build
1 parent 1546e07 commit a707a85

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/libcore/core_arch_docs.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../stdsimd/crates/core_arch/src/core_arch_docs.md

src/libstd/Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fortanix-sgx-abi = { version = "0.3.2", features = ['rustc-dep-of-std'] }
4747
cc = "1.0"
4848

4949
[features]
50-
default = ["compiler_builtins_c"]
50+
default = ["compiler_builtins_c", "std_detect_file_io", "std_detect_dlsym_getauxval"]
5151

5252
backtrace = ["backtrace-sys"]
5353
panic-unwind = ["panic_unwind"]
@@ -66,3 +66,7 @@ wasm_syscall = []
6666
# the environment for hooking up some thread-related information like the
6767
# current thread id and accessing/getting the current thread's TCB
6868
wasm-bindgen-threads = []
69+
70+
# stdsimd features
71+
std_detect_file_io = []
72+
std_detect_dlsym_getauxval = []

0 commit comments

Comments
 (0)