# Includes one of the default files in src/bootstrap/defaults profile = "codegen" changelog-seen = 2 # ============================================================================= # Tweaking how LLVM is compiled # ============================================================================= [llvm] download-ci-llvm = false skip-rebuild = false optimize = true assertions = true tests = false ninja = true # targets = "AArch64;ARM;BPF;Hexagon;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86" targets = "AArch64" experimental-targets="P2" clang = true # ============================================================================= # General build configuration options # ============================================================================= [build] submodules = false sanitizers = false # ============================================================================= # General install configuration options # ============================================================================= [install] prefix = "/opt/p2rust" sysconfdir = "cfg" # ============================================================================= # Options for compiling Rust code itself # ============================================================================= [rust] debug = false debuginfo-level = 0 incremental = true codegen-backends = ["llvm"] lld = true llvm-tools = false # ============================================================================= # Options for specific targets # # Each of the following options is scoped to the specific target triple in # question and is used for determining how to compile each target. # ============================================================================= # [target.arm64-apple-darwin] # ============================================================================= # Distribution options # # These options are related to distribution, mostly for the Rust project itself. # You probably won't need to concern yourself with any of these options # ============================================================================= [dist]