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.patch19
1 files changed, 16 insertions, 3 deletions
diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch
index 3fd6f43b..1aeb55c1 100644
--- a/extra/rust/config.toml.patch
+++ b/extra/rust/config.toml.patch
@@ -1,7 +1,16 @@
diff -rauN a/config.toml b/config.toml
---- a/config.toml 2020-08-01 10:50:30.352304826 +0200
-+++ b/config.toml 2020-08-01 10:51:38.355820332 +0200
-@@ -22,11 +22,11 @@
+--- 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
@@ -15,3 +24,7 @@ diff -rauN a/config.toml b/config.toml
-[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"