about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-02-11 22:00:10 +0100
committerRalf Jung <post@ralfj.de>2019-02-14 16:20:58 +0100
commita707a85530adf095c2d0bd91f57c7c152cc613b1 (patch)
treeb360664f7ec50c6bf0fa284cca1f3bcd2a0c717d /src/libstd
parent1546e07e63b7d0cf35688dc0215b4fb898d539db (diff)
downloadrust-a707a85530adf095c2d0bd91f57c7c152cc613b1.tar.gz
rust-a707a85530adf095c2d0bd91f57c7c152cc613b1.zip
fixed for libstd build
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml
index 92876f7f2d8..24745c11370 100644
--- a/src/libstd/Cargo.toml
+++ b/src/libstd/Cargo.toml
@@ -47,7 +47,7 @@ fortanix-sgx-abi = { version = "0.3.2", features = ['rustc-dep-of-std'] }
 cc = "1.0"
 
 [features]
-default = ["compiler_builtins_c"]
+default = ["compiler_builtins_c", "std_detect_file_io", "std_detect_dlsym_getauxval"]
 
 backtrace = ["backtrace-sys"]
 panic-unwind = ["panic_unwind"]
@@ -66,3 +66,7 @@ wasm_syscall = []
 # the environment for hooking up some thread-related information like the
 # current thread id and accessing/getting the current thread's TCB
 wasm-bindgen-threads = []
+
+# stdsimd features
+std_detect_file_io = []
+std_detect_dlsym_getauxval = []