X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=config.toml.example;h=f45db37c33b86103d1e35929600ebc5167c7e009;hb=14001e8a7b3e7772ac589d69d8badeb4330226f6;hp=23943d34b7ca8fc596737ddfbfae45da9d0987a8;hpb=bcbf73f9c15ec46c5b7596cd62b8a6f170196409;p=rust.git diff --git a/config.toml.example b/config.toml.example index 23943d34b7c..f45db37c33b 100644 --- a/config.toml.example +++ b/config.toml.example @@ -90,12 +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 # ============================================================================= @@ -312,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.