about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Lankes <slankes@eonerc.rwth-aachen.de>2020-11-16 08:23:12 +0100
committerStefan Lankes <slankes@eonerc.rwth-aachen.de>2020-11-16 08:23:12 +0100
commit207de019dc67ddb4fef17b526ab0e8ae7c971935 (patch)
tree2e696677cd2e52f5e421648bb7f1d2427652770b
parent6de51252e05fe1859df5e8864149af8b721f41bd (diff)
libary: Forward compiler-builtins "asm" and "mangled-names" feature
Now users will be able to do:
```
cargo build -Zbuild-std=core -Zbuild-std-features=compiler-builtins-asm
```
and correctly get the assembly implemenations for `memcpy` and friends.
-rw-r--r--library/test/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml
index 3d6910b107d..d5804cc3dd8 100644
--- a/library/test/Cargo.toml
+++ b/library/test/Cargo.toml
@@ -26,6 +26,8 @@ default = ["std_detect_file_io", "std_detect_dlsym_getauxval", "panic-unwind"]
 backtrace = ["std/backtrace"]
 compiler-builtins-c = ["std/compiler-builtins-c"]
 compiler-builtins-mem = ["std/compiler-builtins-mem"]
+compiler-builtins-asm = ["std/compiler-builtins-asm"]
+compiler-builtins-mangled-names = ["std/compiler-builtins-mangled-names"]
 llvm-libunwind = ["std/llvm-libunwind"]
 system-llvm-libunwind = ["std/system-llvm-libunwind"]
 panic-unwind = ["std/panic_unwind"]