summarylogtreecommitdiffstats
path: root/mingw-config.toml
diff options
context:
space:
mode:
authorpingplug2019-04-21 11:05:23 +0800
committerpingplug2019-04-21 11:05:23 +0800
commit54341bf860f9ea404a5da3de7cd18af78bb39d36 (patch)
tree17d55282d06e7e2a7d105fa7265bc76a752f42d7 /mingw-config.toml
parentd4bb77b49685468eebe7603bcffd6ae782baad32 (diff)
downloadaur-54341bf860f9ea404a5da3de7cd18af78bb39d36.tar.gz
Updated to 1.34.0
change to python3
Diffstat (limited to 'mingw-config.toml')
-rw-r--r--mingw-config.toml17
1 files changed, 13 insertions, 4 deletions
diff --git a/mingw-config.toml b/mingw-config.toml
index e2c38c40284c..f58e32cec349 100644
--- a/mingw-config.toml
+++ b/mingw-config.toml
@@ -90,11 +90,20 @@ link-shared = false
# 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
+use-libcxx = false
+
+# The value specified here will be passed as `-DLLVM_USE_LINKER` to CMake.
+use-linker = "lld"
+
# =============================================================================
# General build configuration options
@@ -281,7 +290,7 @@ debug = false
# Number of codegen units to use for each compiler invocation. A value of 0
# means "the number of cores on this machine", and 1+ is passed through to the
# compiler.
-codegen-units = 0
+codegen-units = 1
# Sets the number of codegen units to build the standard library with,
# regardless of what the codegen-unit setting for the rest of the compiler is.
@@ -312,8 +321,8 @@ backtrace = true
# 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.