diff options
author | jperkin <jperkin@pkgsrc.org> | 2019-05-31 14:11:23 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2019-05-31 14:11:23 +0000 |
commit | 5724c8771c74c909f0343f7033b33312cbd66fe0 (patch) | |
tree | 3a7657bba038ba707ab10377bbb1f0f15c7ecc0d /lang | |
parent | 0388e599a91e88bba9527093919bdf05242a1b71 (diff) | |
download | pkgsrc-5724c8771c74c909f0343f7033b33312cbd66fe0.tar.gz |
rust: Update to 1.35.0.
Version 1.35.0 (2019-05-23)
==========================
Language
--------
- [`FnOnce`, `FnMut`, and the `Fn` traits are now implemented for `Box<FnOnce>`,
`Box<FnMut>`, and `Box<Fn>` respectively.][59500]
- [You can now coerce closures into unsafe function pointers.][59580] e.g.
```rust
unsafe fn call_unsafe(func: unsafe fn()) {
func()
}
pub fn main() {
unsafe { call_unsafe(|| {}); }
}
```
Compiler
--------
- [Added the `armv6-unknown-freebsd-gnueabihf` and
`armv7-unknown-freebsd-gnueabihf` targets.][58080]
- [Added the `wasm32-unknown-wasi` target.][59464]
Libraries
---------
- [`Thread` will now show its ID in `Debug` output.][59460]
- [`StdinLock`, `StdoutLock`, and `StderrLock` now implement `AsRawFd`.][59512]
- [`alloc::System` now implements `Default`.][59451]
- [Expanded `Debug` output (`{:#?}`) for structs now has a trailing comma on the
last field.][59076]
- [`char::{ToLowercase, ToUppercase}` now
implement `ExactSizeIterator`.][58778]
- [All `NonZero` numeric types now implement `FromStr`.][58717]
- [Removed the `Read` trait bounds
on the `BufReader::{get_ref, get_mut, into_inner}` methods.][58423]
- [You can now call the `dbg!` macro without any parameters to print the file
and line where it is called.][57847]
- [In place ASCII case conversions are now up to 4× faster.][59283]
e.g. `str::make_ascii_lowercase`
- [`hash_map::{OccupiedEntry, VacantEntry}` now implement `Sync`
and `Send`.][58369]
Stabilized APIs
---------------
- [`f32::copysign`]
- [`f64::copysign`]
- [`RefCell::replace_with`]
- [`RefCell::map_split`]
- [`ptr::hash`]
- [`Range::contains`]
- [`RangeFrom::contains`]
- [`RangeTo::contains`]
- [`RangeInclusive::contains`]
- [`RangeToInclusive::contains`]
- [`Option::copied`]
Cargo
-----
- [You can now set `cargo:rustc-cdylib-link-arg` at build time to pass custom
linker arguments when building a `cdylib`.][cargo/6298] Its usage is highly
platform specific.
Misc
----
- [The Rust toolchain is now available natively for musl based distros.][58575]
[59460]: https://github.com/rust-lang/rust/pull/59460/
[59464]: https://github.com/rust-lang/rust/pull/59464/
[59500]: https://github.com/rust-lang/rust/pull/59500/
[59512]: https://github.com/rust-lang/rust/pull/59512/
[59580]: https://github.com/rust-lang/rust/pull/59580/
[59283]: https://github.com/rust-lang/rust/pull/59283/
[59451]: https://github.com/rust-lang/rust/pull/59451/
[59076]: https://github.com/rust-lang/rust/pull/59076/
[58778]: https://github.com/rust-lang/rust/pull/58778/
[58717]: https://github.com/rust-lang/rust/pull/58717/
[58369]: https://github.com/rust-lang/rust/pull/58369/
[58423]: https://github.com/rust-lang/rust/pull/58423/
[58080]: https://github.com/rust-lang/rust/pull/58080/
[57847]: https://github.com/rust-lang/rust/pull/57847/
[58575]: https://github.com/rust-lang/rust/pull/58575
[cargo/6298]: https://github.com/rust-lang/cargo/pull/6298/
[`f32::copysign`]: https://doc.rust-lang.org/stable/std/primitive.f32.html#method.copysign
[`f64::copysign`]: https://doc.rust-lang.org/stable/std/primitive.f64.html#method.copysign
[`RefCell::replace_with`]: https://doc.rust-lang.org/stable/std/cell/struct.RefCell.html#method.replace_with
[`RefCell::map_split`]: https://doc.rust-lang.org/stable/std/cell/struct.RefCell.html#method.map_split
[`ptr::hash`]: https://doc.rust-lang.org/stable/std/ptr/fn.hash.html
[`Range::contains`]: https://doc.rust-lang.org/std/ops/struct.Range.html#method.contains
[`RangeFrom::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeFrom.html#method.contains
[`RangeTo::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeTo.html#method.contains
[`RangeInclusive::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.contains
[`RangeToInclusive::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html#method.contains
[`Option::copied`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.copied
Diffstat (limited to 'lang')
-rw-r--r-- | lang/rust/Makefile | 34 | ||||
-rw-r--r-- | lang/rust/distinfo | 153 | ||||
-rw-r--r-- | lang/rust/patches/patch-src_librustc__target_spec_solaris__base.rs | 14 | ||||
-rw-r--r-- | lang/rust/patches/patch-src_librustc__target_spec_x86__64__sun__solaris.rs | 15 | ||||
-rw-r--r-- | lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs | 12 | ||||
-rw-r--r-- | lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs (renamed from lang/rust/patches/patch-vendor_libc_src_unix_solaris_mod.rs) | 10 | ||||
-rw-r--r-- | lang/rust/patches/patch-vendor_rand-0.5.5_src_rngs_os.rs | 15 |
7 files changed, 133 insertions, 120 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 3feb366d34b..ed67b8337c5 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.100 2019/05/31 07:21:53 jperkin Exp $ +# $NetBSD: Makefile,v 1.101 2019/05/31 14:11:23 jperkin Exp $ -DISTNAME= rustc-1.34.2-src +DISTNAME= rustc-1.35.0-src PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} CATEGORIES= lang MASTER_SITES= http://static.rust-lang.org/dist/ @@ -149,10 +149,10 @@ BUILDLINK_TRANSFORM.NetBSD+= rm:-Wl,--enable-new-dtags # own bootstrap. See the stage0-bootstrap below for more details. # DISTFILES:= ${DEFAULT_DISTFILES} -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 # .if !empty(MACHINE_PLATFORM:MDarwin-*-i386) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH:= i686-apple-darwin RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -160,7 +160,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH:= x86_64-apple-darwin RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -168,7 +168,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH:= i686-unknown-linux-gnu RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -176,7 +176,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH:= x86_64-unknown-linux-gnu RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -184,7 +184,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MSunOS-*-x86_64) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH:= x86_64-sun-solaris RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz SITES.${RUST_STAGE0}= https://us-east.manta.joyent.com/pkgsrc/public/pkg-bootstraps/ @@ -193,7 +193,7 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-${RUST_STAGE0_VER}-${RUST_ARCH} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MFreeBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH:= i686-unknown-freebsd RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -201,7 +201,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MFreeBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH:= x86_64-unknown-freebsd RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -209,7 +209,7 @@ DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0} pre-build-fix: .endif .if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH= i686-unknown-netbsd RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -226,7 +226,7 @@ pre-build-fix: ${TOOLS_PLATFORM.paxctl} +am ${WRKDIR}/rust-bootstrap/bin/cargo .endif .if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || make(distinfo) || make (makesum) || make(mdi) -RUST_STAGE0_VER= 1.33.0 +RUST_STAGE0_VER= 1.34.2 RUST_ARCH= x86_64-unknown-netbsd RUST_STAGE0:= rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz RUST_STD_STAGE0:= rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz @@ -306,19 +306,15 @@ post-extract: ${TOOLS_BASH} ./install.sh --prefix=${RUST_BOOTSTRAP_PATH}; \ fi # patch(1) in NetBSD does not handle .cargo-checksum.json like long width file. - ${CP} ${WRKSRC}/vendor/rand-0.5.5/.cargo-checksum.json \ - ${WRKSRC}/vendor/rand-0.5.5/.cargo-checksum.json.orig - ${SED} -e 's/cb94a0b54e47022b2e9b58b45e0196785c61d083760333276226da435cc040d9/bcb195562cf830c9e2078757e6d0976f86ede59816ff305e21a2764a4a4cf43e/' ${WRKSRC}/vendor/rand-0.5.5/.cargo-checksum.json.orig > ${WRKSRC}/vendor/rand-0.5.5/.cargo-checksum.json ${CP} ${WRKSRC}/vendor/rand/.cargo-checksum.json \ ${WRKSRC}/vendor/rand/.cargo-checksum.json.orig ${SED} -e 's/1e732c2e3b4bd1561f11e0979bf9d20669a96eae7afe0deff9dfbb980ee47bf1/55abd8100db14a076dedbf84ce0f2db08158e1bd33ff1d4978bd3c4ad978f281/' ${WRKSRC}/vendor/rand/.cargo-checksum.json.orig > ${WRKSRC}/vendor/rand/.cargo-checksum.json ${CP} ${WRKSRC}/vendor/libc/.cargo-checksum.json \ ${WRKSRC}/vendor/libc/.cargo-checksum.json.orig - ${SED} -e 's/7950a26f3eb0b7bc8e71f524cc2e05832b759fe2ce12a58e0c1957e0ec1286dc/a188bb00f0eddf252738f830b864e3a39bf2345f05f195d5ee5ca42b101f1de5/' ${WRKSRC}/vendor/libc/.cargo-checksum.json.orig > ${WRKSRC}/vendor/libc/.cargo-checksum.json + ${SED} -e 's/c6a740dac9af99321f48d5c9e86c6a4f5dcc611c413263881764f7121c1f7e9d/01ca1e6a21f01efd9d4b2768c1f9bcfab829e95a23d88cd35bf4e0172c672f3a/' ${WRKSRC}/vendor/libc/.cargo-checksum.json.orig > ${WRKSRC}/vendor/libc/.cargo-checksum.json ${CP} ${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json \ ${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json.orig ${SED} -e 's/59763fc255248b54fba5d0761d61093a73d51fa4cb400b0df1b5f339b9c2f48a/ba66d192421fd536ceddb50616c4c4aea06f4e39450eb0bc2bbbaed0b1e684c1/' ${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json.orig > ${WRKSRC}/vendor/backtrace-sys/.cargo-checksum.json - .if ${OPSYS} == "NetBSD" SDIR=${WRKDIR}/scripts; \ ${MKDIR} $${SDIR}; \ @@ -366,7 +362,7 @@ LDFLAGS+= -headerpad_max_install_names .PHONY: fix-darwin-install-name post-install: fix-darwin-install-name fix-darwin-install-name: -. for bin in clippy-driver rls rustc rustdoc +. for bin in cargo-miri clippy-driver miri rls rustc rustdoc otool -XL ${DESTDIR}${PREFIX}/bin/${bin} \ | ${GREP} '@rpath' | while read rpath rest; do \ install_name_tool -change $$rpath \ @@ -441,7 +437,7 @@ stage0-bootstrap: install done for lib in libcrypto.so.1.0.0 libcurl.so.4 libhttp_parser.so.2 \ libiconv.so.2 libidn2.so.0 libintl.so.8 liblber-2.4.so.2 \ - libldap-2.4.so.2 libnghttp2.so.14 libsasl2.so.3 \ + libldap-2.4.so.2 libnghttp2.so.14 libsasl2.so.3 libLLVM-7.so \ libssh2.so.1 libssl.so.1.0.0 libunistring.so.2 libz.so.1; do \ ${CP} ${PREFIX}/lib/$${lib} ${BOOTSTRAP_TMPDIR}/lib/pkgsrc/; \ done diff --git a/lang/rust/distinfo b/lang/rust/distinfo index 23faeeba589..80c636154d5 100644 --- a/lang/rust/distinfo +++ b/lang/rust/distinfo @@ -1,41 +1,5 @@ -$NetBSD: distinfo,v 1.76 2019/05/22 09:43:14 jperkin Exp $ +$NetBSD: distinfo,v 1.77 2019/05/31 14:11:23 jperkin Exp $ -SHA1 (rust-1.33.0-i686-apple-darwin.tar.gz) = 3747f4e11ef6d3229bfd41dbdd9990897f9dea83 -RMD160 (rust-1.33.0-i686-apple-darwin.tar.gz) = 32d72b91d159a98470bbfaff4e1087f8b15eb3b9 -SHA512 (rust-1.33.0-i686-apple-darwin.tar.gz) = 2f185ed2be551eb0a084f1d36a0753651657df16a929c4250ef0d61b94719876da22892c235ad7b8b5c714ce2bf5c10162b4ec85357ea8ffb1ef0b66b0d9dee0 -Size (rust-1.33.0-i686-apple-darwin.tar.gz) = 241195453 bytes -SHA1 (rust-1.33.0-i686-unknown-freebsd.tar.gz) = 617068d743b39a04961184d2584d4f47d25a53f0 -RMD160 (rust-1.33.0-i686-unknown-freebsd.tar.gz) = aa4997740247687b1257fdd36170ac0523d05acd -SHA512 (rust-1.33.0-i686-unknown-freebsd.tar.gz) = 201584770d0209a8416f1090bc3c9222bae4171633d4165e99816bd76c2fc0b72f096d38ddb51075b94c6af2b973e79d2e54cd531cf886f65ef2b8cb1a58d697 -Size (rust-1.33.0-i686-unknown-freebsd.tar.gz) = 181177768 bytes -SHA1 (rust-1.33.0-i686-unknown-linux-gnu.tar.gz) = ed9ccbc87ac02f1e4ec7a51e6179dbd7379da930 -RMD160 (rust-1.33.0-i686-unknown-linux-gnu.tar.gz) = 32d97519f1c9e505fbbc3755603fc905629a8516 -SHA512 (rust-1.33.0-i686-unknown-linux-gnu.tar.gz) = 1758eec6594e1051b6cc532f9b41bc71fdb4fe36ad641e32054ddeae16d1811c3ccd3211c9c23fb71af296e09d5c602a9af5ad10feccdde69b7294a8e78ac562 -Size (rust-1.33.0-i686-unknown-linux-gnu.tar.gz) = 272770259 bytes -SHA1 (rust-1.33.0-i686-unknown-netbsd.tar.gz) = 3eb8199d4522983868c6fe9b9fb1cfaab313914c -RMD160 (rust-1.33.0-i686-unknown-netbsd.tar.gz) = b1524d37f0597c742c311ad3e6e759830c84e3b5 -SHA512 (rust-1.33.0-i686-unknown-netbsd.tar.gz) = a26727e787a74c70a513c5725ac01b74f8f3f5fa695fa6d58a6352a11a3aaef95690f8441e2dc547881069d058226a2f735a5f45c0bc41a3aee458267f2a3c23 -Size (rust-1.33.0-i686-unknown-netbsd.tar.gz) = 230496031 bytes -SHA1 (rust-1.33.0-x86_64-apple-darwin.tar.gz) = a1ca5de2eb62f346437d70a2eafc4d49e15decbb -RMD160 (rust-1.33.0-x86_64-apple-darwin.tar.gz) = 389aa9da93a874c9bdac5e931bfcc0d76bac5660 -SHA512 (rust-1.33.0-x86_64-apple-darwin.tar.gz) = a7b669ca7563e5e4e9a74fc2ca1ace150c8f62e53cc687b58570e97f7850d66970308ed4d84304fbc30f94cc9d615bafad49657ff94307fb198880e715a87d39 -Size (rust-1.33.0-x86_64-apple-darwin.tar.gz) = 245799023 bytes -SHA1 (rust-1.33.0-x86_64-sun-solaris.tar.gz) = 4db0cc3e6977f4b718f59574cdc3991854dfe0f2 -RMD160 (rust-1.33.0-x86_64-sun-solaris.tar.gz) = b1bdbf2feb2de9c407840ac664b20071856a4ab3 -SHA512 (rust-1.33.0-x86_64-sun-solaris.tar.gz) = 348cbbb0bfa7c95c47f71c06df574f6ffb24e103086e24514227313721bac6a9fa1007c549f417847b3c083ed663bf241259988b0f0340d0e3b84c0cb3c4b4e2 -Size (rust-1.33.0-x86_64-sun-solaris.tar.gz) = 215905919 bytes -SHA1 (rust-1.33.0-x86_64-unknown-freebsd.tar.gz) = 6cba12148bebd2dbd08daab5e49490eefb4e987f -RMD160 (rust-1.33.0-x86_64-unknown-freebsd.tar.gz) = fd6564223b374633cf3cd15bc5cba36d9fe56004 -SHA512 (rust-1.33.0-x86_64-unknown-freebsd.tar.gz) = c73e3a2b73520f9ba762d8d67dea94812ac2e99d7e8e9eecf72555a546f8304ca4cb375f1d0a0f8dd40392772af29db74327682df646111de5233cad9cd19741 -Size (rust-1.33.0-x86_64-unknown-freebsd.tar.gz) = 182325902 bytes -SHA1 (rust-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = 9747ec15f4c2956cd9aa663abf21c44b25831deb -RMD160 (rust-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = 2954ded41c821be48a8a797f516a955b5529a01b -SHA512 (rust-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = 34bbeba1cfcc9f3c7856b004e571fd08fc468f59840b7c325ebeb8d343a578b2fac429ce124bca189c67cfdb63e2e140d36452192497f3aaa259be871992cd6c -Size (rust-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = 255441266 bytes -SHA1 (rust-1.33.0-x86_64-unknown-netbsd.tar.gz) = f77053d8bee2591e31261f17de94a68c36f0c0fa -RMD160 (rust-1.33.0-x86_64-unknown-netbsd.tar.gz) = c13af0920efeb633585badad0743b664f476e367 -SHA512 (rust-1.33.0-x86_64-unknown-netbsd.tar.gz) = 26deb86f0fb8cdcd28821e578cb0d24d34eead8bbb1d24c704760d8ab105dde923715df2bdd4ab1710a210ba065d01f44017165cb849c5c6d5dce1fa39bb5bcf -Size (rust-1.33.0-x86_64-unknown-netbsd.tar.gz) = 184114379 bytes SHA1 (rust-1.34.0-aarch64-unknown-netbsd.tar.gz) = e9b17f94deb81a81d8760129e7f90f84211b9256 RMD160 (rust-1.34.0-aarch64-unknown-netbsd.tar.gz) = 0272735078fa9a9e39d0bffbfe29c8944ac135de SHA512 (rust-1.34.0-aarch64-unknown-netbsd.tar.gz) = b8d15afaf9de16ce891266939d5e4f9f5d5d992b994b2766a7171037874bbec6bdb44df49fddd0d9013525873c8ca5d07087dd2d1356b3f86f383e0a22c6287f @@ -52,38 +16,42 @@ SHA1 (rust-1.34.0-sparc64-unknown-netbsd.tar.gz) = 8985497ff6c43e807725b4eb211c9 RMD160 (rust-1.34.0-sparc64-unknown-netbsd.tar.gz) = 82cc515a982f0eac7c00a24aad478c06d94b8b3e SHA512 (rust-1.34.0-sparc64-unknown-netbsd.tar.gz) = 0723002a9ebf5c0973678757d3e3ef9a6959d0751ec4900167f5e21df91f24eb01d68a0a02452946ed65e73e66d378f7cc9f4d413ff0867535efeb95dce27cf4 Size (rust-1.34.0-sparc64-unknown-netbsd.tar.gz) = 222370669 bytes -SHA1 (rust-std-1.33.0-i686-apple-darwin.tar.gz) = 60e3dfedd94d5f18741316d26def9343677b019e -RMD160 (rust-std-1.33.0-i686-apple-darwin.tar.gz) = 0c7e7f4987409ebc522ef3be70e634c9b0460c8d -SHA512 (rust-std-1.33.0-i686-apple-darwin.tar.gz) = 388afefdb8c0641876f4512933809e07f3f9792c216550e0c97175ad24a636acafba853be57a1dbb1b9c9397183c5663501cffc061ac5b510b020978b4d63df8 -Size (rust-std-1.33.0-i686-apple-darwin.tar.gz) = 66061870 bytes -SHA1 (rust-std-1.33.0-i686-unknown-freebsd.tar.gz) = 47a0be0a72240b04bbeb29ead8eb986c937605d6 -RMD160 (rust-std-1.33.0-i686-unknown-freebsd.tar.gz) = 33e8f6a403e75015211c969b299b64c1cb794efa -SHA512 (rust-std-1.33.0-i686-unknown-freebsd.tar.gz) = d594bceb6825109b58f3f8a3e6cebc309c9c6deb7eb57684b9087be7db2190203d30ced210346891e150e1503d265ff926a10820e1fe61c48e7d6f128f34448d -Size (rust-std-1.33.0-i686-unknown-freebsd.tar.gz) = 72221278 bytes -SHA1 (rust-std-1.33.0-i686-unknown-linux-gnu.tar.gz) = b51dd6831ad67d9d9139274a8fad5738cf8de981 -RMD160 (rust-std-1.33.0-i686-unknown-linux-gnu.tar.gz) = 26482e584f7da1a214dceec765ca95dc2f27b90d -SHA512 (rust-std-1.33.0-i686-unknown-linux-gnu.tar.gz) = 6debedfb58e0344534aafc2a4cb0e8b16810990dc8b56314d83c9cf330a2aa189062d6546a43c7ad449b343c9da506fbc55bb4023e436e67c368759663cce353 -Size (rust-std-1.33.0-i686-unknown-linux-gnu.tar.gz) = 75157941 bytes -SHA1 (rust-std-1.33.0-i686-unknown-netbsd.tar.gz) = f2dc315f0d7ab8323fcfa68f1f705558df7c5137 -RMD160 (rust-std-1.33.0-i686-unknown-netbsd.tar.gz) = c23f6415336e6aa02e87dde26d6cc16f3b615cec -SHA512 (rust-std-1.33.0-i686-unknown-netbsd.tar.gz) = 372f5685c274daf1a943487f7a9eb5ee199c4d01ca7737417d9267b3e151af62c1908f45cd1057486a01e34511b6e7f44f21dab1441d7dad07b8491d7c1c6f00 -Size (rust-std-1.33.0-i686-unknown-netbsd.tar.gz) = 76729978 bytes -SHA1 (rust-std-1.33.0-x86_64-apple-darwin.tar.gz) = 35281b96dcaad4893a8aaa1d672a3e3c8f24c763 -RMD160 (rust-std-1.33.0-x86_64-apple-darwin.tar.gz) = 76632e142648b73682b7fbe248aab34041c51191 -SHA512 (rust-std-1.33.0-x86_64-apple-darwin.tar.gz) = 6b21d1093fbcf39d9b73529b47945fdd330de8734d2c0447335fd8c041f1860c63dddd2eb17dd9996234cbee846ba0054aa6e452a14659df36da80e4e45e1176 -Size (rust-std-1.33.0-x86_64-apple-darwin.tar.gz) = 67062787 bytes -SHA1 (rust-std-1.33.0-x86_64-unknown-freebsd.tar.gz) = 16377aa78388e65fc14d99d16a2409fdc77a3dbc -RMD160 (rust-std-1.33.0-x86_64-unknown-freebsd.tar.gz) = 7aaf67aee51f8109faa5c0ea95db39e55f8e4d44 -SHA512 (rust-std-1.33.0-x86_64-unknown-freebsd.tar.gz) = f079d04bf9f3af7badcc067b3b3eff84afa46016ff446bea568dcf6ec8bce9ce7b1dbd09dde7f904f4865c23d5623e7d5b98dfd844ad301a7f605630d125bdbf -Size (rust-std-1.33.0-x86_64-unknown-freebsd.tar.gz) = 71459727 bytes -SHA1 (rust-std-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = ddacb6675f15be101b7ff3e8e035419f29f4f5f0 -RMD160 (rust-std-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = 2ec94717716391a69f05e6152017ff1db49b0eb0 -SHA512 (rust-std-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = f3f1e519696da3d78c415bfdc27a241d01a6c34e95190f3375753d6b35547d70e5030f2f2ecb41da57a295ae79af4e7e704ccc0db88e71183cf1b0dc484cf462 -Size (rust-std-1.33.0-x86_64-unknown-linux-gnu.tar.gz) = 76338216 bytes -SHA1 (rust-std-1.33.0-x86_64-unknown-netbsd.tar.gz) = b6dd37c285218f9b7e207bd170e7aeec618936a7 -RMD160 (rust-std-1.33.0-x86_64-unknown-netbsd.tar.gz) = c6acefb07601430abd6e775046827a143e37dc67 -SHA512 (rust-std-1.33.0-x86_64-unknown-netbsd.tar.gz) = 4731cb39eeb3067abe130fef4aebfda808fb3054ce519d517495acf7a363767bcd32c9583ef2b44fbf88e3fb670348c6355e986da4b44b12a8c47fe0b6c75897 -Size (rust-std-1.33.0-x86_64-unknown-netbsd.tar.gz) = 71379733 bytes +SHA1 (rust-1.34.2-i686-apple-darwin.tar.gz) = 1c7f71c554dd4cffc4bdbdf291234292c5fcc9ad +RMD160 (rust-1.34.2-i686-apple-darwin.tar.gz) = e1f3228f63a2580d7980f28e10e3f4fa34f63dac +SHA512 (rust-1.34.2-i686-apple-darwin.tar.gz) = a9919f2d23d66fbbd134f8954d80247a0d6218d72439605a5954775f537710489219a612f650039c2000c30019a8d33ab84bd54ac7c935e6ff1a413a335278b4 +Size (rust-1.34.2-i686-apple-darwin.tar.gz) = 243346114 bytes +SHA1 (rust-1.34.2-i686-unknown-freebsd.tar.gz) = 96ccfe960050a6028f2d7f1d9832dae986253837 +RMD160 (rust-1.34.2-i686-unknown-freebsd.tar.gz) = 8bd7fd578002e40183cef7d328c9fe1db336d7e8 +SHA512 (rust-1.34.2-i686-unknown-freebsd.tar.gz) = 47c7f13deaf2e9bf62dc2b9b635f80c9f0a582f86465f23d7033cbc4501fc5257b6e2615e0d15bc8635995776d6f165de3ddde434093ab4a7167286e46267fcd +Size (rust-1.34.2-i686-unknown-freebsd.tar.gz) = 177269787 bytes +SHA1 (rust-1.34.2-i686-unknown-linux-gnu.tar.gz) = 87b7392a7b9559b417edb556ede92fca8b462ea7 +RMD160 (rust-1.34.2-i686-unknown-linux-gnu.tar.gz) = 8796f4d2b04576e1be2664e54e87e56547b2160d +SHA512 (rust-1.34.2-i686-unknown-linux-gnu.tar.gz) = 78ae5bf4f9169d088272ec1eea3cd986d09cc8e15a129470269c7c6ff9679902ac460e59d7233a5368cc8673a1dc7e6ef59d186344904cbb9ba937f91c97da73 +Size (rust-1.34.2-i686-unknown-linux-gnu.tar.gz) = 272562637 bytes +SHA1 (rust-1.34.2-i686-unknown-netbsd.tar.gz) = ea602ce2447ad210dac713d9c8e3aa3c15d611fa +RMD160 (rust-1.34.2-i686-unknown-netbsd.tar.gz) = c82f1457aec83d90227e5f895fe9c1392a992c5e +SHA512 (rust-1.34.2-i686-unknown-netbsd.tar.gz) = 11e2b0bed70c232687e80f092f3f68dc3c13157d2490f9f276a20c2d60d03ab96746d456459635d04459822103475f9b08589aa11570e94d6ef9c6a112117e56 +Size (rust-1.34.2-i686-unknown-netbsd.tar.gz) = 223848957 bytes +SHA1 (rust-1.34.2-x86_64-apple-darwin.tar.gz) = c8f20486d53a06efe83e313bc2de2a0c7deda96a +RMD160 (rust-1.34.2-x86_64-apple-darwin.tar.gz) = a5fb87b266c55c6d1492fa82d096f62073bff56c +SHA512 (rust-1.34.2-x86_64-apple-darwin.tar.gz) = 0375dbf0d306fc53c2a3dde1de4051983de728e94d4d876d980a92a3b54deeb102f4d6c8436844e77e315533e5bd3fdcd56d13c44e659f09125c8d61e1e91284 +Size (rust-1.34.2-x86_64-apple-darwin.tar.gz) = 248376900 bytes +SHA1 (rust-1.34.2-x86_64-sun-solaris.tar.gz) = e5f991056db64b9317b0d4aae9ad151289d881dc +RMD160 (rust-1.34.2-x86_64-sun-solaris.tar.gz) = 79308311aad12bf969cdb6350588275c54942fd5 +SHA512 (rust-1.34.2-x86_64-sun-solaris.tar.gz) = 9cdc8f5560f7af8fb15dc0e59c6f2d77d2459fe3403b1458e5fe5719aa7978b54384eb70bcb721ddc3e0e967f53f7e95a49cdfe5da757aa0c92f898e14df77dc +Size (rust-1.34.2-x86_64-sun-solaris.tar.gz) = 226369022 bytes +SHA1 (rust-1.34.2-x86_64-unknown-freebsd.tar.gz) = 7ccb1bc1bc6b15619a70f00df24fa38145f2c1f6 +RMD160 (rust-1.34.2-x86_64-unknown-freebsd.tar.gz) = d2eb30343b7924e3b40097a844a3d598ea43231d +SHA512 (rust-1.34.2-x86_64-unknown-freebsd.tar.gz) = e81495fe2cb88d6226f85d721cc258a3a97c7302d7adba361e4f19458e6d944121458a5b7d0daa7639e1961cfcef178a4c06a3995e8a8817d362f257cf451510 +Size (rust-1.34.2-x86_64-unknown-freebsd.tar.gz) = 176447111 bytes +SHA1 (rust-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = d0bba151d7a2f40f5bdc53981143e1b843d12bfc +RMD160 (rust-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = bf8edb36e545c1ba737ba3fae79a8f1a38b5842f +SHA512 (rust-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = e36cfa26c94df2422b1302bf4c9f4d724d9aaceeda7edcb7fbd85b458c8e1572f7e76efa14ff318f78b50e7126135ee0ad4cdbd53437cb994654b5ce8edb37ac +Size (rust-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = 255857809 bytes +SHA1 (rust-1.34.2-x86_64-unknown-netbsd.tar.gz) = e0365ebd4c1c82f2443842552b49a694c7f0ab6d +RMD160 (rust-1.34.2-x86_64-unknown-netbsd.tar.gz) = 5139c97ee1c3018ad27be18fe0764c8fa1e3c70c +SHA512 (rust-1.34.2-x86_64-unknown-netbsd.tar.gz) = e06be8bb054b599ad219d4ff92f32dfe22555454b587b0be807aa7bd8a3682770053472d4f8e07b68aae31072b3e180d2645bd5644fc825679ad27a95ae8f645 +Size (rust-1.34.2-x86_64-unknown-netbsd.tar.gz) = 178193227 bytes SHA1 (rust-std-1.34.0-aarch64-unknown-netbsd.tar.gz) = e4035c12e71231ff017ea507b235a98a87eb5a40 RMD160 (rust-std-1.34.0-aarch64-unknown-netbsd.tar.gz) = d330f2f070a0d2e1908a4b7230d8d5551459fcfb SHA512 (rust-std-1.34.0-aarch64-unknown-netbsd.tar.gz) = a6a524b776f471aec8548e75091506925ced3f3996c16409dfcc6b4d3b32d3afde0e3de3b50010b953856970e879ef4ed1ed5ddfba5efe0b83b7a05f3367d52a @@ -100,15 +68,49 @@ SHA1 (rust-std-1.34.0-sparc64-unknown-netbsd.tar.gz) = 15c4d8b0c1dde0249f7c48e67 RMD160 (rust-std-1.34.0-sparc64-unknown-netbsd.tar.gz) = 780838c8c75960aff13239fcac8cbf679ccb8cd7 SHA512 (rust-std-1.34.0-sparc64-unknown-netbsd.tar.gz) = 416c024feaf775c5cf2f998f49bc969adfa41adbe2bf75bf4bae056a7521b9536e3cb71da382b5893f5fb5414381e35a7445d38e7cc07fb031d981d6701ce5c3 Size (rust-std-1.34.0-sparc64-unknown-netbsd.tar.gz) = 73645103 bytes -SHA1 (rustc-1.34.2-src.tar.gz) = f7129b0ed8801eb11033d72c9a8d22ba58e3206c -RMD160 (rustc-1.34.2-src.tar.gz) = 5b8903967ae7689b12f57a6278b2a0abd8fde5a4 -SHA512 (rustc-1.34.2-src.tar.gz) = a9483c937915c482c9bebb1c60769a43978456ee222f3ff1379790cebc18dc4140b8b4d0a077dd1a5051f3c07113388597731e01f82c2f2b5b709e21cde3ecb3 -Size (rustc-1.34.2-src.tar.gz) = 149925014 bytes +SHA1 (rust-std-1.34.2-i686-apple-darwin.tar.gz) = c954b79db8886e71e497650680671f955b7e7120 +RMD160 (rust-std-1.34.2-i686-apple-darwin.tar.gz) = b89085c250893d2e3068c18900d4db9c6b162a90 +SHA512 (rust-std-1.34.2-i686-apple-darwin.tar.gz) = 6a145844c71c26ae7b03f45d6f7ad9a20aa66f0703f4195e07677151f3532182196715a1d1e51007bc1d17f878ffa94b81ed8e55fad03360451180ead86e8bd7 +Size (rust-std-1.34.2-i686-apple-darwin.tar.gz) = 65387628 bytes +SHA1 (rust-std-1.34.2-i686-unknown-freebsd.tar.gz) = d1585fc814ee260c81dcb889bd27bb145ca396ed +RMD160 (rust-std-1.34.2-i686-unknown-freebsd.tar.gz) = 58b778da78f7e67460adeb535a7548c8a84340c0 +SHA512 (rust-std-1.34.2-i686-unknown-freebsd.tar.gz) = 7a1daeb28db3d549637b6fba83cfcaafee9ac13aba3387770cb4cda65ec5f6dc2af776a59a5b0724f9e8206467aee5e61f45bec3077b999b428dcc93167901c3 +Size (rust-std-1.34.2-i686-unknown-freebsd.tar.gz) = 70611007 bytes +SHA1 (rust-std-1.34.2-i686-unknown-linux-gnu.tar.gz) = 29cb6bcc1f537fe04c5be9cb74eeb1dad5f9855d +RMD160 (rust-std-1.34.2-i686-unknown-linux-gnu.tar.gz) = 18dffb52040a30b19dfb086c829c96a80be6f319 +SHA512 (rust-std-1.34.2-i686-unknown-linux-gnu.tar.gz) = 66c30a646901bf27f8ea9d6d7f9a0d075018cd626d18bbaa307b920e89dbb75de047153a30c38de4720ed20b9842883b28679fa319f64339f156fe864e0574fc +Size (rust-std-1.34.2-i686-unknown-linux-gnu.tar.gz) = 73577528 bytes +SHA1 (rust-std-1.34.2-i686-unknown-netbsd.tar.gz) = 7082c29b920aa6d74730ad0d58eba12cff6d9fb5 +RMD160 (rust-std-1.34.2-i686-unknown-netbsd.tar.gz) = 1f1cfcd588ceee733778c56f8279c579bda52abd +SHA512 (rust-std-1.34.2-i686-unknown-netbsd.tar.gz) = 5b4ec8d72b14255c91c883d6ce7e61e834ce0ac14b2e242606c96218ef24d2800578b32d7f9e07d1f954db19804ba06bde797f179d2b635a47b5e4e033ffa5bd +Size (rust-std-1.34.2-i686-unknown-netbsd.tar.gz) = 74511607 bytes +SHA1 (rust-std-1.34.2-x86_64-apple-darwin.tar.gz) = f0a413faf8fc5adc277c0e48bf3b399c643f316c +RMD160 (rust-std-1.34.2-x86_64-apple-darwin.tar.gz) = 7e99ed4bf3019b2830302c7bff0500f75245f20d +SHA512 (rust-std-1.34.2-x86_64-apple-darwin.tar.gz) = 8379fad1d506b5b564f87e3f711cf57f7b56455fffc9cba3a238a973960054fd8550955389b91f6b28bfa2b2c75c19900d6b1ea168788a031c013951568e30ec +Size (rust-std-1.34.2-x86_64-apple-darwin.tar.gz) = 66537132 bytes +SHA1 (rust-std-1.34.2-x86_64-unknown-freebsd.tar.gz) = 61e396525f0aec0a85d44acfc273d6403e322560 +RMD160 (rust-std-1.34.2-x86_64-unknown-freebsd.tar.gz) = 50ba6142aa955b2ed2a70588ceae8ad8a6f394d6 +SHA512 (rust-std-1.34.2-x86_64-unknown-freebsd.tar.gz) = 718019ba19948b63d85acd3359ccba27dd8e9fb2685da079ce40c23bd3c689b45905cfa89173c940e979c3e8ecde358f8551bfe1c0d2eab02220bb54e3869645 +Size (rust-std-1.34.2-x86_64-unknown-freebsd.tar.gz) = 70076845 bytes +SHA1 (rust-std-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = 156ad36d6e0e06c21b0e485ae302e33e311d0cb8 +RMD160 (rust-std-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = 4fefa73cc62d1ed27a4381c530052be7560902e9 +SHA512 (rust-std-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = 1611205efb61b04aca14d88949e8dd0c5107ba604cceff9157b71e128243d9a0dee565e129a7cd8ff56d5c8a06fdc68ed197bc186a28f21e270f40f3dd72c7b7 +Size (rust-std-1.34.2-x86_64-unknown-linux-gnu.tar.gz) = 74981989 bytes +SHA1 (rust-std-1.34.2-x86_64-unknown-netbsd.tar.gz) = 38ba4613e24d9dd0428e909aed9c7aa6bfbf73dc +RMD160 (rust-std-1.34.2-x86_64-unknown-netbsd.tar.gz) = f5f9f3af7e6d673978e4defc1f6325cfbfbf7cc9 +SHA512 (rust-std-1.34.2-x86_64-unknown-netbsd.tar.gz) = 3a140f81ac6f901da2d4be6ccb178a04a063aebcbd051704041130aebb2ef6cac48380d9dee0584a14a9cb70e4f5a2b561a921eb840fa56b48b8a4d11bcec086 +Size (rust-std-1.34.2-x86_64-unknown-netbsd.tar.gz) = 70003996 bytes +SHA1 (rustc-1.35.0-src.tar.gz) = f57561cd9fe8a972d3c4f34a87352c6779fc4916 +RMD160 (rustc-1.35.0-src.tar.gz) = ae3e11c4421f050d5728bddc4fe17aabfbccc37d +SHA512 (rustc-1.35.0-src.tar.gz) = b23e6e221bf96e8621ea7aba2e8fc686c2ba1ae334072f13f1f0d4b0ae909632f511a9c62fdcc29c7467af931269020298f799064651b676e387dd3e6dfe6e8e +Size (rustc-1.35.0-src.tar.gz) = 151564062 bytes SHA1 (patch-src_bootstrap_bin_rustc.rs) = 5e6b0cb25401db4fef6e74f73764e69f3c09569c SHA1 (patch-src_bootstrap_bootstrap.py) = 5b886b95857bf019c2e37cb380e6905cb444b756 SHA1 (patch-src_bootstrap_builder.rs) = 7e23348dc5555fdb3833a7f8734cfe687c6e533c SHA1 (patch-src_bootstrap_lib.rs) = bc23743f1b9c4ad3d7557b4fdf8a55976ca7f417 SHA1 (patch-src_librustc__llvm_build.rs) = d6e71891eb8d42a9c4175505ba7ed98338153860 +SHA1 (patch-src_librustc__target_spec_solaris__base.rs) = 90d7fbe239fb4481adbed7f145e67ec8b4837a61 +SHA1 (patch-src_librustc__target_spec_x86__64__sun__solaris.rs) = f6ad33b41906bbf83a1cbd0e2fe13a4da37266fa SHA1 (patch-src_libstd_build.rs) = 2334879e4b730014de08bb2dfff1a643292a630e SHA1 (patch-src_libstd_sys_unix_thread.rs) = 2554f1a42afaa0ddce5053860f4dabecdf6c527a SHA1 (patch-src_libsyntax__pos_span__encoding.rs) = c891cffab8ae47b13b3b391ddd1a6c62ee2b38f3 @@ -121,9 +123,8 @@ SHA1 (patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp) = 498395d1ae5b7 SHA1 (patch-src_tools_cargo_src_cargo_core_profiles.rs) = 3aac5d54a6fe96b9559552e67e497488142d4e80 SHA1 (patch-src_tools_cargo_tests_testsuite_build.rs) = b50d65cfd2fea4793bcbec2515f5fc0203052ac0 SHA1 (patch-src_tools_rls_rls_src_cmd.rs) = fade3e60fecac5c4e4d4ee5bee82659b4eb385b7 -SHA1 (patch-src_tools_rls_rls_src_server_io.rs) = 23944fa3599c0b75b67d7a8006bc4b308e507b7e +SHA1 (patch-src_tools_rls_rls_src_server_io.rs) = 51af64526db55abcf6b4b3165df314a16cf62e34 SHA1 (patch-src_tools_rust-installer_install-template.sh) = f2ec6dced2be1fa23773d5827503ad07d0913dc2 SHA1 (patch-vendor_backtrace-sys_src_libbacktrace_configure) = 90e54f66edce65ebe23fbf2480deb193ca926733 -SHA1 (patch-vendor_libc_src_unix_solaris_mod.rs) = 1fd66c000eeae9b61e5e05c46604c574d2b2106c -SHA1 (patch-vendor_rand-0.5.5_src_rngs_os.rs) = b9579d3f1e30ad2cd2353cb02efc0afa1d5dfa1c +SHA1 (patch-vendor_libc_src_unix_solarish_mod.rs) = 804ea03be546fef0d2bd37d7f8abb26d38a7892b SHA1 (patch-vendor_rand_src_rngs_os.rs) = 7a1c6d91d9418e1f8e378c4baca33045cc768f2d diff --git a/lang/rust/patches/patch-src_librustc__target_spec_solaris__base.rs b/lang/rust/patches/patch-src_librustc__target_spec_solaris__base.rs new file mode 100644 index 00000000000..3b16597707c --- /dev/null +++ b/lang/rust/patches/patch-src_librustc__target_spec_solaris__base.rs @@ -0,0 +1,14 @@ +$NetBSD: patch-src_librustc__target_spec_solaris__base.rs,v 1.1 2019/05/31 14:11:23 jperkin Exp $ + +Enable frame pointers on SunOS. + +--- src/librustc_target/spec/solaris_base.rs.orig 2019-01-16 09:30:27.000000000 +0000 ++++ src/librustc_target/spec/solaris_base.rs +@@ -18,6 +18,7 @@ pub fn opts() -> TargetOptions { + has_rpath: true, + target_family: Some("unix".to_string()), + is_like_solaris: true, ++ eliminate_frame_pointer: false, + + .. Default::default() + } diff --git a/lang/rust/patches/patch-src_librustc__target_spec_x86__64__sun__solaris.rs b/lang/rust/patches/patch-src_librustc__target_spec_x86__64__sun__solaris.rs new file mode 100644 index 00000000000..9401273cf74 --- /dev/null +++ b/lang/rust/patches/patch-src_librustc__target_spec_x86__64__sun__solaris.rs @@ -0,0 +1,15 @@ +$NetBSD: patch-src_librustc__target_spec_x86__64__sun__solaris.rs,v 1.1 2019/05/31 14:11:23 jperkin Exp $ + +Enable stack probes on SunOS. + +--- src/librustc_target/spec/x86_64_sun_solaris.rs.orig 2019-01-16 09:30:27.000000000 +0000 ++++ src/librustc_target/spec/x86_64_sun_solaris.rs +@@ -15,7 +15,7 @@ pub fn target() -> TargetResult { + base.pre_link_args.insert(LinkerFlavor::Gcc, vec!["-m64".to_string()]); + base.cpu = "x86-64".to_string(); + base.max_atomic_width = Some(64); +- base.stack_probes = true; ++ base.stack_probes = false; + + Ok(Target { + llvm_target: "x86_64-pc-solaris".to_string(), diff --git a/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs b/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs index bf6c24a1b87..e2e80ac2906 100644 --- a/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs +++ b/lang/rust/patches/patch-src_tools_rls_rls_src_server_io.rs @@ -1,11 +1,11 @@ -$NetBSD: patch-src_tools_rls_rls_src_server_io.rs,v 1.1 2019/04/14 12:42:03 he Exp $ +$NetBSD: patch-src_tools_rls_rls_src_server_io.rs,v 1.2 2019/05/31 14:11:23 jperkin Exp $ Use 32-bit atomic instead of 64-bit; latter may not be available on 32-bit platforms (powerpc, earmv7). ---- src/tools/rls/rls/src/server/io.rs.orig 2019-04-10 18:46:16.000000000 +0000 +--- src/tools/rls/rls/src/server/io.rs.orig 2019-05-20 12:10:32.000000000 +0000 +++ src/tools/rls/rls/src/server/io.rs -@@ -17,7 +17,7 @@ use crate::lsp_data::{LSPNotification, L +@@ -7,7 +7,7 @@ use crate::lsp_data::{LSPNotification, L use std::fmt; use std::io::{self, BufRead, Write}; @@ -14,7 +14,7 @@ Use 32-bit atomic instead of 64-bit; latter may not be available on use std::sync::Arc; use jsonrpc_core::{self as jsonrpc, response, version, Id}; -@@ -182,13 +182,13 @@ pub trait Output: Sync + Send + Clone + +@@ -171,13 +171,13 @@ pub trait Output: Sync + Send + Clone + /// An output that sends notifications and responses on `stdout`. #[derive(Clone)] pub(super) struct StdioOutput { @@ -23,14 +23,14 @@ Use 32-bit atomic instead of 64-bit; latter may not be available on } impl StdioOutput { - /// Construct a new `stdout` output. + /// Constructs a new `stdout` output. pub(crate) fn new() -> StdioOutput { - StdioOutput { next_id: Arc::new(AtomicU64::new(1)) } + StdioOutput { next_id: Arc::new(AtomicU32::new(1)) } } } -@@ -205,7 +205,7 @@ impl Output for StdioOutput { +@@ -194,7 +194,7 @@ impl Output for StdioOutput { } fn provide_id(&self) -> RequestId { diff --git a/lang/rust/patches/patch-vendor_libc_src_unix_solaris_mod.rs b/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs index fd9912c3a10..3ae0e9e6401 100644 --- a/lang/rust/patches/patch-vendor_libc_src_unix_solaris_mod.rs +++ b/lang/rust/patches/patch-vendor_libc_src_unix_solarish_mod.rs @@ -1,8 +1,10 @@ -$NetBSD: patch-vendor_libc_src_unix_solaris_mod.rs,v 1.1 2019/03/03 09:16:21 he Exp $ +$NetBSD: patch-vendor_libc_src_unix_solarish_mod.rs,v 1.1 2019/05/31 14:11:23 jperkin Exp $ ---- vendor/libc/src/unix/solaris/mod.rs.orig 2019-02-28 10:22:23.000000000 +0000 -+++ vendor/libc/src/unix/solaris/mod.rs -@@ -693,6 +693,8 @@ pub const EOWNERDEAD: ::c_int = 58; +Fix xattr build. + +--- vendor/libc/src/unix/solarish/mod.rs.orig 2019-05-20 13:47:24.000000000 +0000 ++++ vendor/libc/src/unix/solarish/mod.rs +@@ -981,6 +981,8 @@ pub const EOWNERDEAD: ::c_int = 58; pub const ENOTRECOVERABLE: ::c_int = 59; pub const ENOSTR: ::c_int = 60; pub const ENODATA: ::c_int = 61; diff --git a/lang/rust/patches/patch-vendor_rand-0.5.5_src_rngs_os.rs b/lang/rust/patches/patch-vendor_rand-0.5.5_src_rngs_os.rs deleted file mode 100644 index 48474e779d4..00000000000 --- a/lang/rust/patches/patch-vendor_rand-0.5.5_src_rngs_os.rs +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-vendor_rand-0.5.5_src_rngs_os.rs,v 1.1 2019/03/07 20:19:11 jperkin Exp $ - -Explicitly disable getrandom support on SunOS, the test fails. -https://github.com/rust-random/rand/issues/637 - ---- vendor/rand-0.5.5/src/rngs/os.rs.orig 2019-02-28 10:22:24.000000000 +0000 -+++ vendor/rand-0.5.5/src/rngs/os.rs -@@ -675,6 +675,7 @@ mod imp { - } - - fn getrandom(buf: &mut [u8], blocking: bool) -> libc::c_long { -+ return -1; - extern "C" { - fn syscall(number: libc::c_long, ...) -> libc::c_long; - } |