Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
lib32
Commits
8c57d0f8
Commit
8c57d0f8
authored
Jul 28, 2019
by
Chaoting Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib32-rust: update to 1.36.0
parent
97ab2e4d
Pipeline
#3879
passed with stages
in 150 minutes and 33 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
10 deletions
+20
-10
lib32-rust/PKGBUILD
lib32-rust/PKGBUILD
+9
-9
lib32-rust/config.toml
lib32-rust/config.toml
+1
-1
lib32-rust/librustc-llvm-libffi.patch
lib32-rust/librustc-llvm-libffi.patch
+10
-0
No files found.
lib32-rust/PKGBUILD
View file @
8c57d0f8
_pkgbasename
=
rust
pkgname
=
lib32-
$_pkgbasename
pkgver
=
1.3
5
.0
pkgver
=
1.3
6
.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'
'python
2
'
'curl'
'cmake'
)
makedepends
=(
'llvm'
'libffi'
'perl'
'python
3
'
'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
()
{
...
...
lib32-rust/config.toml
View file @
8c57d0f8
...
...
@@ -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
=
"python
2.7
"
python
=
"python
3
"
extended
=
true
sanitizers
=
false
local-rebuild
=
true
...
...
lib32-rust/librustc-llvm-libffi.patch
0 → 100644
View file @
8c57d0f8
--- 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;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment