Auto merge of #78472 - hermitcore:builtins, r=Mark-Simulacrum

add options to use optimized and mangled compiler builtins

In principle the compiler builtin features are also offered to alloc and std.
This commit is contained in:
bors 2020-11-15 10:37:11 +00:00
commit 0468845924
2 changed files with 4 additions and 0 deletions

View File

@ -31,3 +31,5 @@ harness = false
[features]
compiler-builtins-mem = ['compiler_builtins/mem']
compiler-builtins-c = ["compiler_builtins/c"]
compiler-builtins-asm = ["compiler_builtins/asm"]
compiler-builtins-mangled-names = ["compiler_builtins/mangled-names"]

View File

@ -60,6 +60,8 @@ panic-unwind = ["panic_unwind"]
profiler = ["profiler_builtins"]
compiler-builtins-c = ["alloc/compiler-builtins-c"]
compiler-builtins-mem = ["alloc/compiler-builtins-mem"]
compiler-builtins-asm = ["alloc/compiler-builtins-asm"]
compiler-builtins-mangled-names = ["alloc/compiler-builtins-mangled-names"]
llvm-libunwind = ["unwind/llvm-libunwind"]
system-llvm-libunwind = ["unwind/system-llvm-libunwind"]