From 207de019dc67ddb4fef17b526ab0e8ae7c971935 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 16 Nov 2020 08:23:12 +0100 Subject: [PATCH] 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. --- library/test/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml index 3d6910b107dd5..d5804cc3dd862 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"]