]>
Commit | Line | Data |
---|---|---|
01dc6ef4 | 1 | [build] |
01dc6ef4 XL |
2 | submodules = false |
3 | vendor = true | |
4 | locked-deps = false | |
9edc048c | 5 | verbose = 2 |
01dc6ef4 | 6 | |
5861ebac XL |
7 | rustc = "RUST_DESTDIR/usr/bin/rustc" |
8 | cargo = "RUST_DESTDIR/usr/bin/cargo" | |
9 | ||
01dc6ef4 XL |
10 | build = "DEB_BUILD_RUST_TYPE" |
11 | host = ["DEB_HOST_RUST_TYPE"] | |
981dad5c | 12 | target = ["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 | |
20 | docs = false | |
1fd63ebe | 21 | |
01dc6ef4 XL |
22 | [install] |
23 | prefix = "/usr" | |
24 | ||
25 | [target.DEB_BUILD_RUST_TYPE] | |
2b7c35b5 | 26 | llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config" |
ec028c2e | 27 | linker = "DEB_BUILD_GNU_TYPE-gcc" |
01dc6ef4 XL |
28 | |
29 | ifelse(DEB_BUILD_RUST_TYPE,DEB_HOST_RUST_TYPE,, | |
30 | [target.DEB_HOST_RUST_TYPE] | |
2b7c35b5 | 31 | llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config" |
ec028c2e | 32 | linker = "DEB_HOST_GNU_TYPE-gcc" |
01dc6ef4 XL |
33 | |
34 | )dnl | |
35 | ifelse(DEB_BUILD_RUST_TYPE,DEB_TARGET_RUST_TYPE,,DEB_HOST_RUST_TYPE,DEB_TARGET_RUST_TYPE,, | |
36 | [target.DEB_TARGET_RUST_TYPE] | |
2b7c35b5 | 37 | llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config" |
ec028c2e | 38 | linker = "DEB_TARGET_GNU_TYPE-gcc" |
01dc6ef4 XL |
39 | |
40 | )dnl | |
a040e8fc XL |
41 | [target.wasm32-wasi] |
42 | wasi-root = "/usr" | |
43 | ||
01dc6ef4 | 44 | [llvm] |
5861ebac | 45 | link-shared = true |
01dc6ef4 XL |
46 | |
47 | [rust] | |
f56f18fe | 48 | jemalloc = false |
5861ebac XL |
49 | optimize = MAKE_OPTIMISATIONS |
50 | dist-src = false | |
9a17406b | 51 | |
3613a4e9 XL |
52 | channel = "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 |
57 | debuginfo-level = 2 |
58 | debuginfo-level-std = 2 | |
b7e0194b | 59 | rpath = false |
6d9b8aba XL |
60 | # see also d-custom-debuginfo-path.patch |
61 | remap-debuginfo = true | |
873d1fa5 XL |
62 | |
63 | verbose-tests = true | |
64 | backtrace-on-ice = true |