X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=config.toml.example;h=f45db37c33b86103d1e35929600ebc5167c7e009;hb=14001e8a7b3e7772ac589d69d8badeb4330226f6;hp=f5a348593699fdbe3e912d3def210cdd5a668f9f;hpb=14fb35fa4f6bbcefe8cd28fe5dc3dd53b59a1201;p=rust.git diff --git a/config.toml.example b/config.toml.example index f5a34859369..f45db37c33b 100644 --- a/config.toml.example +++ b/config.toml.example @@ -90,6 +90,21 @@ # with clang-cl, so this is special in that it only compiles LLVM with clang-cl #clang-cl = '/path/to/clang-cl.exe' +# Pass extra compiler and linker flags to the LLVM CMake build. +#cflags = "-fextra-flag" +#cxxflags = "-fextra-flag" +#ldflags = "-Wl,extra-flag" + +# Use libc++ when building LLVM instead of libstdc++. This is the default on +# platforms already use libc++ as the default C++ library, but this option +# allows you to use libc++ even on platforms when it's not. You need to ensure +# that your host compiler ships with libc++. +#use-libcxx = true + +# The value specified here will be passed as `-DLLVM_USE_LINKER` to CMake. +#use-linker = "lld" + + # ============================================================================= # General build configuration options # ============================================================================= @@ -282,7 +297,7 @@ #codegen-units-std = 1 # Whether or not debug assertions are enabled for the compiler and standard -# library. Also enables compilation of debug! and trace! logging macros. +# library. #debug-assertions = false # Whether or not debuginfo is emitted @@ -306,8 +321,8 @@ # Whether to always use incremental compilation when building rustc #incremental = false -# Build rustc with experimental parallelization -#experimental-parallel-queries = false +# Build a multi-threaded rustc +#parallel-compiler = false # The default linker that will be hard-coded into the generated compiler for # targets that don't specify linker explicitly in their target specifications.