# https://github.com/rust-lang/rust/issues/135358 (bug #947897)
profile = "dist"
[llvm]
download-ci-llvm = false
optimize = true
release-debuginfo = false
assertions = false
ninja = true
targets = "X86;PowerPC"
experimental-targets = ""
link-shared = false


enable-warnings = false
[llvm.build-config]
CMAKE_VERBOSE_MAKEFILE = "ON"

[build]
build-stage = 2
test-stage = 2
build = "x86_64-unknown-linux-gnu"
host = ["powerpc64-unknown-linux-musl"]
target = ["powerpc64-unknown-linux-musl"]
cargo = "/opt/rust-bin-1.84.1/bin/cargo"
rustc = "/opt/rust-bin-1.84.1/bin/rustc"
rustfmt = "/opt/rust-bin-1.84.1/bin/rustfmt"
docs = false
compiler-docs = false
submodules = false
python = "python3.12"
locked-deps = true
vendor = true
extended = true
tools = ["cargo","rustdoc"]
verbose = 2
sanitizers = false
profiler = true
cargo-native-static = false
[install]
prefix = "/usr/lib/rust/1.85.0"
sysconfdir = "etc"
docdir = "share/doc/rust"
bindir = "bin"
libdir = "lib"
mandir = "share/man"
[rust]
# https://github.com/rust-lang/rust/issues/54872
codegen-units-std = 1
optimize = true
debug = false
debug-assertions = false
debug-assertions-std = false
debuginfo-level = 0
debuginfo-level-rustc = 0
debuginfo-level-std = 0
debuginfo-level-tools = 0
debuginfo-level-tests = 0
backtrace = true
incremental = false

channel = "stable"
description = "gentoo"
rpath = true
verbose-tests = true
optimize-tests = true
codegen-tests = true
dist-src = false
remap-debuginfo = true
lld = false
# only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it
# https://github.com/rust-lang/rust/issues/74976
# https://github.com/rust-lang/rust/issues/76526
deny-warnings = true
backtrace-on-ice = true
jemalloc = false
# See https://github.com/rust-lang/rust/issues/121124
lto = "off"
[dist]
src-tarball = false
compression-formats = ["xz"]
compression-profile = "balanced"
[target.powerpc64-unknown-linux-musl]
ar = "powerpc64-linux-musl-ar"
cc = "powerpc64-linux-musl-gcc"
cxx = "powerpc64-linux-musl-g++"
linker = "powerpc64-linux-musl-gcc"
ranlib = "powerpc64-linux-musl-ranlib"
llvm-libunwind = "no"
crt-static = false
musl-root = "/usr/powerpc64-linux-musl/usr"
