mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
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:
commit
0468845924
@ -31,3 +31,5 @@ harness = false
|
|||||||
[features]
|
[features]
|
||||||
compiler-builtins-mem = ['compiler_builtins/mem']
|
compiler-builtins-mem = ['compiler_builtins/mem']
|
||||||
compiler-builtins-c = ["compiler_builtins/c"]
|
compiler-builtins-c = ["compiler_builtins/c"]
|
||||||
|
compiler-builtins-asm = ["compiler_builtins/asm"]
|
||||||
|
compiler-builtins-mangled-names = ["compiler_builtins/mangled-names"]
|
||||||
|
@ -60,6 +60,8 @@ panic-unwind = ["panic_unwind"]
|
|||||||
profiler = ["profiler_builtins"]
|
profiler = ["profiler_builtins"]
|
||||||
compiler-builtins-c = ["alloc/compiler-builtins-c"]
|
compiler-builtins-c = ["alloc/compiler-builtins-c"]
|
||||||
compiler-builtins-mem = ["alloc/compiler-builtins-mem"]
|
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"]
|
llvm-libunwind = ["unwind/llvm-libunwind"]
|
||||||
system-llvm-libunwind = ["unwind/system-llvm-libunwind"]
|
system-llvm-libunwind = ["unwind/system-llvm-libunwind"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user