Skip to content

Commit

Permalink
Rollup merge of #79090 - hermitcore:builtins, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
libary: Forward compiler-builtins "asm"  and "mangled-names" feature

In principle this is a followup of #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.
  • Loading branch information
Dylan-DPC committed Nov 19, 2020
2 parents 3f0f224 + 207de01 commit 29c8e50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 29c8e50

Please sign in to comment.