Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/rust
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust')
-rw-r--r--community/rust/PKGBUILD11
-rw-r--r--community/rust/config.toml.patch9
2 files changed, 0 insertions, 20 deletions
diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD
deleted file mode 100644
index 14d3c061..00000000
--- a/community/rust/PKGBUILD
+++ /dev/null
@@ -1,11 +0,0 @@
-source+=(config.toml.patch)
-sha256sums+=('55d59786b6a24590951688c01910ac331996fc5ea5e20f10d227db24b93b1e74')
-
-eval "$(
- declare -f prepare | \
- sed '
- $ i patch -p1 -i "$srcdir/config.toml.patch"
- /}/ i sed -i "s/pentium4/pentium3" "$srcdir/rustc-$pkgver-src/vendor/rustc-ap-rustc_target/spec/i686_unknown_linux_gnu.rs"
- /}/ i sed -i "s/pentium4/pentium3" "$srcdir/rustc-$pkgver-src/src/librustc_target/spec/i686_unknown_linux_gnu.rs"
- '
-)"
diff --git a/community/rust/config.toml.patch b/community/rust/config.toml.patch
deleted file mode 100644
index f479499b..00000000
--- a/community/rust/config.toml.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/config.toml 2019-01-20 19:03:26.718067950 +0100
-+++ b/config.toml 2019-01-20 19:03:52.614834201 +0100
-@@ -25,3 +25,6 @@
-
- [target.x86_64-unknown-linux-gnu]
- llvm-config = "/usr/bin/llvm-config"
-+
-+[target.i686-unknown-linux-gnu]
-+llvm-config = "/usr/bin/llvm-config"