]> git.proxmox.com Git - rustc.git/blame - debian/config.toml.in
Try to unbreak cross-compiling again
[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"]
12target = ["DEB_TARGET_RUST_TYPE"]
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
41[llvm]
5861ebac 42link-shared = true
01dc6ef4
XL
43
44[rust]
f56f18fe 45jemalloc = false
5861ebac
XL
46optimize = MAKE_OPTIMISATIONS
47dist-src = false
9a17406b 48
3613a4e9
XL
49channel = "RELEASE_CHANNEL"
50
895e8d94
XL
51# parallel codegen interferes with reproducibility, see
52# https://github.com/rust-lang/rust/issues/34902#issuecomment-319463586
53#codegen-units = 0
9a17406b
XL
54debuginfo = true
55debuginfo-lines = true
5861ebac 56debuginfo-only-std = false
b7e0194b 57rpath = false
873d1fa5
XL
58
59verbose-tests = true
60backtrace-on-ice = true