summarylogtreecommitdiffstats
path: root/mingw-config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'mingw-config.toml')
-rw-r--r--mingw-config.toml30
1 files changed, 30 insertions, 0 deletions
diff --git a/mingw-config.toml b/mingw-config.toml
index 8c0a58bc8e8c..7d31c56125ad 100644
--- a/mingw-config.toml
+++ b/mingw-config.toml
@@ -21,6 +21,12 @@ enabled = true
# Indicates whether the LLVM build is a Release or Debug build
optimize = true
+# Indicates whether LLVM should be built with ThinLTO. Note that this will
+# only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++
+# toolchain (see the `cc`, `cxx`, `linker`, `ar`, and `ranlib` options below).
+# More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap
+#thin-lto = false
+
# Indicates whether an LLVM Release build should include debug info
release-debuginfo = false
@@ -76,6 +82,10 @@ link-jobs = 0
# passed to prefer linking to shared libraries.
link-shared = false
+# When building llvm, this configures what is being appended to the version.
+# If absent, we let the version as-is.
+#version-suffix = "-rust"
+
# On MSVC you can compile LLVM with clang-cl, but the test suite doesn't pass
# with clang-cl, so this is special in that it only compiles LLVM with clang-cl
#clang-cl = '/path/to/clang-cl.exe'
@@ -354,6 +364,10 @@ lld = true
# sysroot.
llvm-tools = false
+# Indicates whether LLDB will be made available in the sysroot.
+# This is only built if LLVM is also being built.
+lldb = false
+
# Whether to deny warnings in crates
deny-warnings = false
@@ -363,6 +377,10 @@ backtrace-on-ice = false
# Whether to verify generated LLVM IR
verify-llvm-ir = false
+# Map all debuginfo paths for libstd and crates to `/rust/$sha/$crate/...`,
+# generally only set for releases
+remap-debuginfo = false
+
# =============================================================================
# Options for specific targets
#
@@ -384,6 +402,10 @@ cxx = "c++"
# Note: an absolute path should be used, otherwise LLVM build will break.
ar = "ar"
+# Ranlib to be used to assemble static libraries compiled from C/C++ code.
+# Note: an absolute path should be used, otherwise LLVM build will break.
+ranlib = "ranlib"
+
# Linker to be used to link Rust code. Note that the
# default value is platform specific, and if not specified it may also depend on
# what platform is crossing to what platform.
@@ -434,6 +456,10 @@ cxx = "i686-w64-mingw32-c++"
# Note: an absolute path should be used, otherwise LLVM build will break.
ar = "i686-w64-mingw32-ar"
+# Ranlib to be used to assemble static libraries compiled from C/C++ code.
+# Note: an absolute path should be used, otherwise LLVM build will break.
+ranlib = "i686-w64-mingw32-ranlib"
+
# Linker to be used to link Rust code. Note that the
# default value is platform specific, and if not specified it may also depend on
# what platform is crossing to what platform.
@@ -484,6 +510,10 @@ cxx = "x86_64-w64-mingw32-c++"
# Note: an absolute path should be used, otherwise LLVM build will break.
ar = "x86_64-w64-mingw32-ar"
+# Ranlib to be used to assemble static libraries compiled from C/C++ code.
+# Note: an absolute path should be used, otherwise LLVM build will break.
+ranlib = "x86_64-w64-mingw32-ranlib"
+
# Linker to be used to link Rust code. Note that the
# default value is platform specific, and if not specified it may also depend on
# what platform is crossing to what platform.