2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-07 08:22:28 +00:00

rust: more tweaks

This commit is contained in:
Dylan Araps 2021-09-03 09:55:25 +03:00
parent 96a853e9af
commit 976b0c3c09
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -32,6 +32,7 @@ mv -f _ vendor/rustc-ap-rustc_target/.cargo-checksum.json
cat > config.toml <<EOF cat > config.toml <<EOF
[llvm] [llvm]
link-shared = true link-shared = true
skip-rebuild = true
[build] [build]
build = "x86_64-unknown-linux-musl" build = "x86_64-unknown-linux-musl"
@ -45,7 +46,7 @@ submodules = false
python = "python3" python = "python3"
locked-deps = true locked-deps = true
vendor = true vendor = true
tools = [ "cargo" ] tools = [ "cargo", "rustfmt", "src" ]
sanitizers = false sanitizers = false
profiler = false profiler = false
full-bootstrap = false full-bootstrap = false
@ -58,17 +59,22 @@ llvm-config = "/usr/bin/llvm-config"
crt-static = false crt-static = false
sanitizers = false sanitizers = false
[dist]
src-tarball = false
[rust] [rust]
backtrace = false backtrace = false
channel = "stable" channel = "stable"
codegen-tests = false codegen-tests = false
codegen-units-std = 0 codegen-units-std = 0
codegen-units = 0
debug = false debug = false
debug-assertions = false debug-assertions = false
debuginfo-level = 0 debuginfo-level = 0
incremental = false incremental = false
jemalloc = false jemalloc = false
rpath = false rpath = false
dist-src = false
EOF EOF
# Workaround to get Rust to build in llvm-only environments. # Workaround to get Rust to build in llvm-only environments.