From 8f63485cd948cb379e368efc66b9a4550979b8c6 Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Fri, 10 Jan 2025 11:47:06 +0300 Subject: [PATCH] add `optimized-compiler-builtins` to target specific section Signed-off-by: onur-ozkan --- config.example.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.example.toml b/config.example.toml index 5ea6774ce035c..04e7310e6bc34 100644 --- a/config.example.toml +++ b/config.example.toml @@ -922,6 +922,15 @@ # argument as the test binary. #runner = (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. +# +# 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) + # ============================================================================= # Distribution options #