summaryrefslogtreecommitdiff
path: root/extra/rust/config.toml.patch
blob: 1aeb55c110944c4b1075cf8141a719c265f2d6bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -rauN a/config.toml b/config.toml
--- a/config.toml	2021-02-04 07:47:59.117133704 +0100
+++ b/config.toml	2021-02-04 07:50:40.203582394 +0100
@@ -2,7 +2,7 @@
 link-shared = true
 
 [build]
-target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "x86_64-unknown-linux-musl"]
+target = ["i686-unknown-linux-gnu", "i686-unknown-linux-musl"]
 tools = ["cargo", "rls", "clippy", "miri", "rustfmt", "analysis", "src"]
 cargo = "/usr/bin/cargo"
 rustc = "/usr/bin/rustc"
@@ -22,14 +22,14 @@
 # https://github.com/rust-lang/rust/issues/54872
 codegen-units-std = 1
 
-debuginfo-level-std = 2
+debuginfo-level-std = 0
 
 channel = "stable"
 
 rpath = false
 
-[target.x86_64-unknown-linux-gnu]
+[target.i686-unknown-linux-gnu]
 llvm-config = "/usr/bin/llvm-config"
 
-[target.x86_64-unknown-linux-musl]
+[target.i686-unknown-linux-musl]
 musl-root = "/usr/lib/musl"