]> git.proxmox.com Git - rustc.git/blame - debian/config.toml.in
work around upstream spuriously installing llvm
[rustc.git] / debian / config.toml.in
CommitLineData
01dc6ef4 1[build]
01dc6ef4
XL
2submodules = false
3vendor = true
4locked-deps = false
9edc048c 5verbose = 2
01dc6ef4 6
5861ebac
XL
7rustc = "RUST_DESTDIR/usr/bin/rustc"
8cargo = "RUST_DESTDIR/usr/bin/cargo"
9
01dc6ef4
XL
10build = "DEB_BUILD_RUST_TYPE"
11host = ["DEB_HOST_RUST_TYPE"]
981dad5c 12target = ["DEB_TARGET_RUST_TYPE"]
01dc6ef4 13
86a68f1a
XL
14#full-bootstrap = true
15# originally needed to work around #45317 but no longer necessary
16# currently we have to omit it because it breaks #48319
075d4fff 17
3bdf427a
XL
18# this might get changed later by override_dh_auto_configure-indep
19# we do it this way to avoid spurious rebuilds
20docs = false
1fd63ebe 21
01dc6ef4
XL
22[install]
23prefix = "/usr"
24
25[target.DEB_BUILD_RUST_TYPE]
2b7c35b5 26llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
ec028c2e 27linker = "DEB_BUILD_GNU_TYPE-gcc"
01dc6ef4
XL
28
29ifelse(DEB_BUILD_RUST_TYPE,DEB_HOST_RUST_TYPE,,
30[target.DEB_HOST_RUST_TYPE]
2b7c35b5 31llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
ec028c2e 32linker = "DEB_HOST_GNU_TYPE-gcc"
01dc6ef4
XL
33
34)dnl
35ifelse(DEB_BUILD_RUST_TYPE,DEB_TARGET_RUST_TYPE,,DEB_HOST_RUST_TYPE,DEB_TARGET_RUST_TYPE,,
36[target.DEB_TARGET_RUST_TYPE]
2b7c35b5 37llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
ec028c2e 38linker = "DEB_TARGET_GNU_TYPE-gcc"
01dc6ef4
XL
39
40)dnl
a040e8fc
XL
41[target.wasm32-wasi]
42wasi-root = "/usr"
43
01dc6ef4 44[llvm]
5861ebac 45link-shared = true
01dc6ef4
XL
46
47[rust]
f56f18fe 48jemalloc = false
5861ebac
XL
49optimize = MAKE_OPTIMISATIONS
50dist-src = false
9a17406b 51
3613a4e9
XL
52channel = "RELEASE_CHANNEL"
53
895e8d94
XL
54# parallel codegen interferes with reproducibility, see
55# https://github.com/rust-lang/rust/issues/34902#issuecomment-319463586
56#codegen-units = 0
04a8c198
XL
57debuginfo-level = 2
58debuginfo-level-std = 2
b7e0194b 59rpath = false
6d9b8aba
XL
60# see also d-custom-debuginfo-path.patch
61remap-debuginfo = true
873d1fa5
XL
62
63verbose-tests = true
64backtrace-on-ice = true