Skip to content

Commit 29c8e50

Browse files
authored
Rollup merge of rust-lang#79090 - hermitcore:builtins, r=Mark-Simulacrum
libary: Forward compiler-builtins "asm" and "mangled-names" feature In principle this is a followup of rust-lang#78472. In the previous PR was the support of the test crate missing. 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.
2 parents 3f0f224 + 207de01 commit 29c8e50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/test/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ default = ["std_detect_file_io", "std_detect_dlsym_getauxval", "panic-unwind"]
2626
backtrace = ["std/backtrace"]
2727
compiler-builtins-c = ["std/compiler-builtins-c"]
2828
compiler-builtins-mem = ["std/compiler-builtins-mem"]
29+
compiler-builtins-asm = ["std/compiler-builtins-asm"]
30+
compiler-builtins-mangled-names = ["std/compiler-builtins-mangled-names"]
2931
llvm-libunwind = ["std/llvm-libunwind"]
3032
system-llvm-libunwind = ["std/system-llvm-libunwind"]
3133
panic-unwind = ["std/panic_unwind"]

0 commit comments

Comments
 (0)