# ============================================================================= # 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 = "" host = [""] target = [""] cargo = "" rustc = "/usr/bin/rustc" docs = true compiler-docs = false # 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. This will also produce "combined # installers" which are used to install Rust and Cargo together. This is # disabled by default. extended = false # Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose verbose = 2 # ============================================================================= # General install configuration options # ============================================================================= [install] prefix = "" libdir = "" mandir = "" 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