rust/config.toml

77 lines
1.9 KiB
TOML

# =============================================================================
# Tweaking how LLVM is compiled
# =============================================================================
[llvm]
optimize = true
release-debuginfo = false
#assertions = false
ccache = true
#version-check = false
static-libstdcpp = false
ninja = true
targets = "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX"
# =============================================================================
# General build configuration options
# =============================================================================
[build]
build = "<rust-triple>"
host = ["<rust-triple>"]
target = ["<rust-triple>"]
cargo = "/usr/bin/cargo"
rustc = "/usr/bin/rustc"
docs = true
compiler-docs = true
# Indicate whether submodules are managed and updated automatically.
submodules = false
#gdb = "gdb"
#nodejs = "node"
#python = "python2.7"
vendor = true #
#full-bootstrap = false
# Enable a build of the and extended rust tool set which is not only the
# compiler but also tools such as Cargo. Requires cloning git repo of cargo
extended = false
# =============================================================================
# General install configuration options
# =============================================================================
[install]
prefix = "<prefix>"
libdir = "<libdir>"
mandir = "<mandir>"
docdir = "<docdir>"
# =============================================================================
# Options for compiling Rust code itself
# =============================================================================
[rust]
optimize = true
codegen-units = 0 # 0 = core-count
debug-assertions = false
debuginfo = true
debuginfo-lines = false
debuginfo-only-std = false
use-jemalloc = false
debug-jemalloc = false
backtrace = true
#default-linker = "cc"
#default-ar = "ar"
channel = "stable"
rpath = false
optimize-tests = true
debuginfo-tests = true
codegen-tests = false