summaryrefslogtreecommitdiff
path: root/extra/rust/config.toml.patch
blob: 3f0bf66455f86b7198eab8a3552515e5c4aa47a4 (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
diff -rauN a/config.toml b/config.toml
--- a/config.toml	2021-07-01 13:11:44.805605461 +0530
+++ b/config.toml	2021-07-01 13:14:42.562880610 +0530
@@ -5,7 +5,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"]
 cargo = "/usr/bin/cargo"
 rustc = "/usr/bin/rustc"
 rustfmt = "/usr/bin/rustfmt"
@@ -24,13 +24,13 @@
 # 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]
 sanitizers = false
 musl-root = "/usr/lib/musl"