mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
Allow linking a prebuilt optimized compiler-rt builtins library
Extend the <target>.optimized-compiler-builtins bootstrap option to accept a path to a prebuilt compiler-rt builtins library, and update compiler-builtins to enable optimized builtins without building compiler-rt builtins.
This commit is contained in:
@@ -1041,13 +1041,15 @@
|
||||
#runner = <none> (string)
|
||||
|
||||
# Use the optimized LLVM C intrinsics for `compiler_builtins`, rather than Rust intrinsics
|
||||
# on this target.
|
||||
# Requires the LLVM submodule to be managed by bootstrap (i.e. not external) so that `compiler-rt`
|
||||
# sources are available.
|
||||
# on this target. Choosing true requires the LLVM submodule to be managed by bootstrap
|
||||
# (i.e. not external) so that `compiler-rt` sources are available.
|
||||
#
|
||||
# Setting this to a path removes the requirement for a C toolchain, but requires setting the
|
||||
# path to an existing library containing the builtins library from LLVM's compiler-rt.
|
||||
#
|
||||
# Setting this to `false` generates slower code, but removes the requirement for a C toolchain in
|
||||
# order to run `x check`.
|
||||
#optimized-compiler-builtins = build.optimized-compiler-builtins (bool)
|
||||
#optimized-compiler-builtins = build.optimized-compiler-builtins (bool or path)
|
||||
|
||||
# Link the compiler and LLVM against `jemalloc` instead of the default libc allocator.
|
||||
# This overrides the global `rust.jemalloc` option. See that option for more info.
|
||||
|
||||
Reference in New Issue
Block a user