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.patch23
1 files changed, 15 insertions, 8 deletions
diff --git a/extra/rust/config.toml.patch b/extra/rust/config.toml.patch
index 56a3375b..6488342b 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 2019-09-08 16:33:31.482763985 +0200
-+++ b/config.toml 2019-09-08 16:35:23.644130362 +0200
-@@ -19,7 +19,7 @@
+--- a/config.toml 2019-09-09 08:53:02.796809788 +0200
++++ b/config.toml 2019-09-09 08:53:42.249120606 +0200
+@@ -2,7 +2,7 @@
+ link-shared = true
+
+ [build]
+-target = ["x86_64-unknown-linux-gnu"] # defaults to just the build triple
++target = ["i686-unknown-linux-gnu"] # defaults to just the build triple
+ cargo = "/usr/bin/cargo"
+ rustc = "/usr/bin/rustc"
+ python = "python"
+@@ -19,11 +19,11 @@
# https://github.com/rust-lang/rust/issues/47745
codegen-units = 1
@@ -10,10 +19,8 @@ diff -rauN a/config.toml b/config.toml
channel = "stable"
-@@ -27,3 +27,6 @@
+ rpath = false
- [target.x86_64-unknown-linux-gnu]
- llvm-config = "/usr/bin/llvm-config"
-+
+-[target.x86_64-unknown-linux-gnu]
+[target.i686-unknown-linux-gnu]
-+llvm-config = "/usr/bin/llvm-config"
+ llvm-config = "/usr/bin/llvm-config"