]> git.proxmox.com Git - rustc.git/blob - debian/config.toml.in
c61d582c1a7bf3375afac4832ebd5dd4fc5954b4
[rustc.git] / debian / config.toml.in
1 changelog-seen = 2
2
3 [build]
4 submodules = false
5 vendor = true
6 locked-deps = false
7 verbose = VERBOSITY
8 profiler = PROFILER
9
10 rustc = "RUST_DESTDIR/usr/bin/rustc"
11 cargo = "RUST_DESTDIR/usr/bin/cargo"
12
13 build = "DEB_BUILD_RUST_TYPE"
14 host = ["DEB_HOST_RUST_TYPE"]
15 target = ["DEB_TARGET_RUST_TYPE"]
16
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
20
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
24
25 extended = true
26 tools = ["clippy", "rustfmt", "rustdoc", "rust-analyzer-proc-macro-srv"]
27
28 [install]
29 prefix = "/usr"
30
31 [target.DEB_BUILD_RUST_TYPE]
32 llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
33 linker = "DEB_BUILD_GNU_TYPE-gcc"
34
35 ifelse(DEB_BUILD_RUST_TYPE,DEB_HOST_RUST_TYPE,,
36 [target.DEB_HOST_RUST_TYPE]
37 llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
38 linker = "DEB_HOST_GNU_TYPE-gcc"
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]
43 llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
44 linker = "DEB_TARGET_GNU_TYPE-gcc"
45
46 )dnl
47 [target.wasm32-wasi]
48 wasi-root = "/usr"
49
50 [llvm]
51 link-shared = true
52
53 [rust]
54 jemalloc = false
55 optimize = MAKE_OPTIMISATIONS
56 dist-src = false
57
58 channel = "RELEASE_CHANNEL"
59
60 # parallel codegen interferes with reproducibility, see
61 # https://github.com/rust-lang/rust/issues/34902#issuecomment-319463586
62 #codegen-units = 0
63 debuginfo-level = 2
64 debuginfo-level-std = 2
65 rpath = false
66 # see also d-custom-debuginfo-path.patch
67 remap-debuginfo = true
68
69 verbose-tests = true
70 backtrace-on-ice = true
71
72 deny-warnings = false