Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/rust/config.toml.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rust/config.toml.patch')
-rw-r--r--extra/rust/config.toml.patch45
1 files changed, 25 insertions, 20 deletions
diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch
index 8d0762cd..c002cff6 100644
--- a/extra/rust/config.toml.patch
+++ b/extra/rust/config.toml.patch
@@ -1,26 +1,31 @@
-diff -rauN a/config.toml b/config.toml
---- a/config.toml 2019-10-20 16:44:31.647900892 +0200
-+++ b/config.toml 2019-10-20 16:44:39.637875348 +0200
-@@ -2,7 +2,7 @@
- link-shared = true
+--- config.toml.orig 2024-05-06 00:02:38.463811257 +0000
++++ config.toml 2024-05-06 00:57:21.364799544 +0000
+@@ -6,9 +6,8 @@
[build]
--target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
-+target = ["i686-unknown-linux-gnu"]
- cargo = "/usr/bin/cargo"
- rustc = "/usr/bin/rustc"
- python = "/usr/bin/python"
-@@ -21,11 +21,11 @@
- # https://github.com/rust-lang/rust/issues/54872
+ target = [
+- "x86_64-unknown-linux-gnu",
+ "i686-unknown-linux-gnu",
+- "x86_64-unknown-linux-musl",
++ "i686-unknown-linux-musl",
+ "wasm32-unknown-unknown",
+ "wasm32-wasi",
+ ]
+@@ -39,7 +38,7 @@
+ [rust]
codegen-units-std = 1
-
--debuginfo-level = 2
-+debuginfo-level = 0
-
+ debuginfo-level = 1
+-debuginfo-level-std = 2
++debuginfo-level-std = 1
channel = "stable"
-
+ description = "Arch Linux :-"
rpath = false
+@@ -65,7 +64,7 @@
+ ar = "/usr/bin/gcc-ar"
+ ranlib = "/usr/bin/gcc-ranlib"
+
+-[target.x86_64-unknown-linux-musl]
++[target.i686-unknown-linux-musl]
+ sanitizers = false
+ musl-root = "/usr/lib/musl"
--[target.x86_64-unknown-linux-gnu]
-+[target.i686-unknown-linux-gnu]
- llvm-config = "/usr/bin/llvm-config"