# See bootstrap.toml.example for more possible options, # and see src/bootstrap/defaults/bootstrap.dist.toml for a few options # automatically set when building from a release tarball # (unfortunately, we have to override many of them). # Tell x.py that the editors have reviewed the content of this file # and updated it to follow the major changes of the building system, # so x.py will not warn users to review that information. change-id = 148795 [llvm] # When using the system installed copy of LLVM, prefer the shared libraries link-shared = true use-libcxx = true static-libstdcpp = false # If building the shipped LLVM source, only enable the x86 target # instead of all the targets supported by LLVM. targets = "X86" [build] description = "for Vertex Linux" # Omit the documentation to save time and space (the default is to build them). docs = false # Do not look for new versions of the dependencies online. locked-deps = true # Only install these extended tools. Cargo, clippy, rustdoc, and rustfmt # are installed by a default rustup installation, and rust-src is needed # to build the Rust code in Linux kernel (in case you need such a kernel # feature). tools = ["cargo", "clippy", "rustdoc", "rustfmt", "src"] target = ["x86_64-unknown-linux-gnu", "x86_64-unknown-uefi"] [install] prefix = "/usr" docdir = "share/doc/rust" [rust] channel = "stable" bootstrap-override-lld = "external" # Enable the same optimizations as the official upstream build. lto = "thin" codegen-units = 1 # Don't build llvm-bitcode-linker which is only useful for the NVPTX # backend that we don't enable. llvm-bitcode-linker = true [target.x86_64-unknown-linux-gnu] llvm-config = "/usr/bin/llvm-config" default-linker-linux-override = "off" [target.x86_64-unknown-uefi] llvm-config = "/usr/bin/llvm-config" default-linker-linux-override = "off"