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