# Use different pre-set defaults than the global defaults. # # See `src/bootstrap/defaults` for more information. # Note that this has no default value (x.py uses the defaults in `config.example.toml`). profile = 'dist' [llvm] # When true, link libstdc++ statically into the rustc_llvm. # This is useful if you don't want to use the dynamic version of that # library provided by LLVM. static-libstdcpp = false [build] # Instead of downloading the src/stage0 version of Cargo specified, use # this Cargo binary instead to build all Rust code # If you set this, you likely want to set `rustc` as well. cargo = '/usr/obj/rust-1.82.0/bootstrap/bin/cargo' # Instead of downloading the src/stage0 version of the compiler # specified, use this rustc binary instead as the stage0 snapshot compiler. # If you set this, you likely want to set `cargo` as well. rustc = '/usr/obj/rust-1.82.0/bootstrap/bin/rustc' # Whether to build documentation by default. If false, rustdoc and # friends will still be compiled but they will not be used to generate any # documentation. # # You can still build documentation when this is disabled by explicitly passing paths, # e.g. `x doc library`. docs = false # Python interpreter to use for various tasks throughout the build, notably # rustdoc tests, the lldb python interpreter, and some dist bits and pieces. # # Defaults to the Python interpreter used to execute x.py. python = '/usr/local/bin/python' # Force Cargo to check that Cargo.lock describes the precise dependency # set that all the Cargo.toml files create, instead of updating it. locked-deps = true # Indicate whether the vendored sources are used for Rust dependencies or not. # # Vendoring requires additional setup. We recommend using the pre-generated source tarballs if you # want to use vendoring. See # https://forge.rust-lang.org/infra/other-installation-methods.html#source-code. vendor = true # Enable a build of the 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. # The `tools` (check `config.example.toml` to see its default value) option specifies # which tools should be built if `extended = true`. # # This is disabled by default. extended = true # Indicates whether the native libraries linked into Cargo will be statically # linked or not. cargo-native-static = true # Arguments passed to the `./configure` script, used during distcheck. You # probably won't fill this in but rather it's filled in by the `./configure` # script. Useful for debugging. configure-args = ['--release-channel=stable', '--enable-cargo-native-static', '--enable-extended', '--enable-vendor', '--enable-locked-deps', '--local-rust-root=/usr/obj/rust-1.82.0/bootstrap', '--sysconfdir=/usr/obj/rust-1.82.0/install/etc', '--prefix=/usr/obj/rust-1.82.0/install', '--python=/usr/local/bin/python', '--disable-llvm-static-stdcpp', '--disable-docs'] [install] # Where to install the generated toolchain. Must be an absolute path. prefix = '/usr/obj/rust-1.82.0/install' # Where to install system configuration files. # If this is a relative path, it will get installed in `prefix` above sysconfdir = '/usr/obj/rust-1.82.0/install/etc' [rust] # The "channel" for the Rust build to produce. The stable/beta channels only # allow using stable features, whereas the nightly and dev channels allow using # nightly features # # If using tarball sources, default value for `channel` is taken from the `src/ci/channel` file; # otherwise, it's "dev". channel = 'stable' [target.x86_64-unknown-dragonfly] [dist]