Commit 8c57d0f8 authored by Chaoting Liu's avatar Chaoting Liu

lib32-rust: update to 1.36.0

parent 97ab2e4d
Pipeline #3879 passed with stages
in 150 minutes and 33 seconds
_pkgbasename=rust
pkgname=lib32-$_pkgbasename
pkgver=1.35.0
pkgver=1.36.0
pkgrel=1
pkgdesc='32-bit libraries for rust'
url='https://www.rust-lang.org/'
arch=('x86_64')
license=('MIT' 'Apache')
makedepends=('llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake')
makedepends=('llvm' 'libffi' 'perl' 'python3' 'curl' 'cmake')
depends=('lib32-gcc-libs' "$_pkgbasename=$pkgver")
source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
config.toml)
sha256sums=('5a4d637a716bac18d085f44dd87ef48b32195f71b967d872d80280b38cff712d'
config.toml
librustc-llvm-libffi.patch)
sha256sums=('04c4e4d7213d036d6aaed392841496d272146312c0290f728b7400fccd15bb1b'
'SKIP'
'36c22ecdacbfeca9ab955726b4a701f687f8ed358a1b8ab2d7cc988408db44cb')
'a4a4f8af81b92e70f308c55e19f29103ecd63b90577b067fd33530604f99c873'
'49fa39e8775c9e3b3400d35d2df0728975371f9832d2d76d0dadf9fc73199774')
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
prepare() {
cd "rustc-$pkgver-src"
cp "$srcdir"/config.toml config.toml
patch -Np0 -i $srcdir/librustc-llvm-libffi.patch
}
build() {
cd "rustc-$pkgver-src"
msg2 "Run build under x.py"
python2 ./x.py build
python3 ./x.py build
}
package() {
......
......@@ -5,7 +5,7 @@ link-shared = true
target = ["i686-unknown-linux-gnu"] # defaults to just the build triple
cargo = "/usr/bin/cargo"
rustc = "/usr/bin/rustc"
python = "python2.7"
python = "python3"
extended = true
sanitizers = false
local-rebuild = true
......
--- src/librustc_llvm/lib.rs 2019-07-03 10:00:00.000000000 +0200
+++ src/librustc_llvm/lib.rs.new 2019-07-27 14:12:19.790910082 +0200
@@ -4,6 +4,7 @@
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
+#[link(name = "ffi")] extern {}
// See librustc_cratesio_shim/Cargo.toml for a comment explaining this.
#[allow(unused_extern_crates)]
extern crate rustc_cratesio_shim;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment