pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: Update to version 1.28.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/470e0ab11ede
branches: trunk
changeset: 383771:470e0ab11ede
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Aug 09 17:04:03 2018 +0000
description:
rust: Update to version 1.28.0.
NetBSD/i386 is temporarily disabled due to missing binary bootstraps.
Version 1.28.0 (2018-08-02)
===========================
Language
--------
- [The `#[repr(transparent)]` attribute is now stable.][51562] This attribute
allows a Rust newtype wrapper (`struct NewType<T>(T);`) to be represented as
the inner type across Foreign Function Interface (FFI) boundaries.
- [The keywords `pure`, `sizeof`, `alignof`, and `offsetof` have been unreserved
and can now be used as identifiers.][51196]
- [The `GlobalAlloc` trait and `#[global_allocator]` attribute are now
stable.][51241] This will allow users to specify a global allocator for
their program.
- [Unit test functions marked with the `#[test]` attribute can now return
`Result<(), E: Debug>` in addition to `()`.][51298]
- [The `lifetime` specifier for `macro_rules!` is now stable.][50385] This
allows macros to easily target lifetimes.
Compiler
--------
- [The `s` and `z` optimisation levels are now stable.][50265] These optimisations
prioritise making smaller binary sizes. `z` is the same as `s` with the
exception that it does not vectorise loops, which typically results in an even
smaller binary.
- [The short error format is now stable.][49546] Specified with
`--error-format=short` this option will provide a more compressed output of
rust error messages.
- [Added a lint warning when you have duplicated `macro_export`s.][50143]
- [Reduced the number of allocations in the macro parser.][50855] This can
improve compile times of macro heavy crates on average by 5%.
Libraries
---------
- [Implemented `Default` for `&mut str`.][51306]
- [Implemented `From<bool>` for all integer and unsigned number types.][50554]
- [Implemented `Extend` for `()`.][50234]
- [The `Debug` implementation of `time::Duration` should now be more easily
human readable.][50364] Previously a `Duration` of one second would printed as
`Duration { secs: 1, nanos: 0 }` and will now be printed as `1s`.
- [Implemented `From<&String>` for `Cow<str>`, `From<&Vec<T>>` for `Cow<[T]>`,
`From<Cow<CStr>>` for `CString`, `From<CString>, From<CStr>, From<&CString>`
for `Cow<CStr>`, `From<OsString>, From<OsStr>, From<&OsString>` for
`Cow<OsStr>`, `From<&PathBuf>` for `Cow<Path>`, and `From<Cow<Path>>`
for `PathBuf`.][50170]
- [Implemented `Shl` and `Shr` for `Wrapping<u128>`
and `Wrapping<i128>`.][50465]
- [`DirEntry::metadata` now uses `fstatat` instead of `lstat` when
possible.][51050] This can provide up to a 40% speed increase.
- [Improved error messages when using `format!`.][50610]
Stabilized APIs
---------------
- [`Iterator::step_by`]
- [`Path::ancestors`]
- [`SystemTime::UNIX_EPOCH`]
- [`alloc::GlobalAlloc`]
- [`alloc::Layout`]
- [`alloc::LayoutErr`]
- [`alloc::System`]
- [`alloc::alloc`]
- [`alloc::alloc_zeroed`]
- [`alloc::dealloc`]
- [`alloc::realloc`]
- [`alloc::handle_alloc_error`]
- [`btree_map::Entry::or_default`]
- [`fmt::Alignment`]
- [`hash_map::Entry::or_default`]
- [`iter::repeat_with`]
- [`num::NonZeroUsize`]
- [`num::NonZeroU128`]
- [`num::NonZeroU16`]
- [`num::NonZeroU32`]
- [`num::NonZeroU64`]
- [`num::NonZeroU8`]
- [`ops::RangeBounds`]
- [`slice::SliceIndex`]
- [`slice::from_mut`]
- [`slice::from_ref`]
- [`{Any + Send + Sync}::downcast_mut`]
- [`{Any + Send + Sync}::downcast_ref`]
- [`{Any + Send + Sync}::is`]
Cargo
-----
- [Cargo will now no longer allow you to publish crates with build scripts that
modify the `src` directory.][cargo/5584] The `src` directory in a crate should be
considered to be immutable.
Misc
----
- [The `suggestion_applicability` field in `rustc`'s json output is now
stable.][50486] This will allow dev tools to check whether a code suggestion
would apply to them.
Compatibility Notes
-------------------
- [Rust will no longer consider trait objects with duplicated constraints to
have implementations.][51276] For example the below code will now fail
to compile.
```rust
trait Trait {}
impl Trait + Send {
fn test(&self) { println!("one"); } //~ ERROR duplicate definitions with name `test`
}
impl Trait + Send + Send {
fn test(&self) { println!("two"); }
}
```
diffstat:
lang/rust/Makefile | 10 +-
lang/rust/distinfo | 143 ++++-----
lang/rust/patches/patch-src_liblibc_src_unix_solaris_mod.rs | 24 +
lang/rust/patches/patch-src_libstd_sys_unix_thread.rs | 47 +-
lang/rust/patches/patch-src_vendor_libc_src_unix_solaris_mod.rs | 13 +-
5 files changed, 129 insertions(+), 108 deletions(-)
diffs (truncated from 304 to 300 lines):
diff -r 103f8f81eec0 -r 470e0ab11ede lang/rust/Makefile
--- a/lang/rust/Makefile Thu Aug 09 15:10:23 2018 +0000
+++ b/lang/rust/Makefile Thu Aug 09 17:04:03 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2018/07/22 08:02:27 ryoon Exp $
+# $NetBSD: Makefile,v 1.45 2018/08/09 17:04:03 jperkin Exp $
-DISTNAME= rustc-1.27.2-src
+DISTNAME= rustc-1.28.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
CATEGORIES= lang
MASTER_SITES= http://static.rust-lang.org/dist/
@@ -67,7 +67,7 @@
# own bootstrap. See the stage0-bootstrap below for more details.
#
DISTFILES:= ${DEFAULT_DISTFILES}
-RUST_STAGE0_VER= 1.26.2
+RUST_STAGE0_VER= 1.27.2
#
.if !empty(MACHINE_PLATFORM:MDarwin-*-i386) || make(distinfo) || make (makesum) || make(mdi)
RUST_ARCH:= i686-apple-darwin
@@ -119,7 +119,7 @@
# Do not trust ryoon@.
SITES.${RUST_STAGE0}= https://deuterium.ryoon.net/pub/rust/
SITES.${RUST_STD_STAGE0}= https://deuterium.ryoon.net/pub/rust/
-DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
+#DISTFILES:= ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
# Setting this changes it for every distfile, which doesn't match what is
# currently in distinfo.
#DIST_SUBDIR= ${PKGNAME}
@@ -166,7 +166,7 @@
fi
# patch(1) in NetBSD does not handle .cargo-checksum.json like long width file.
cat ${WRKSRC}/src/vendor/libc/.cargo-checksum.json | \
- ${SED} -e 's/2613f2912a9e8f3485debba424437608433b4e1c8b9050176ef975efdf4a412e/f48ef2dac3c28161f30a797a2fbe7fbcb9161ea23390789fe52c497f229b6c5a/' > \
+ ${SED} -e 's/2613f2912a9e8f3485debba424437608433b4e1c8b9050176ef975efdf4a412e/52431d3cc74033804febaa303d028811504c07e2b9b83ec7287d9ee159bf35fe/' > \
${WRKSRC}/src/vendor/libc/.cargo-checksum.json.patched
${CP} -f ${WRKSRC}/src/vendor/libc/.cargo-checksum.json.patched \
${WRKSRC}/src/vendor/libc/.cargo-checksum.json
diff -r 103f8f81eec0 -r 470e0ab11ede lang/rust/distinfo
--- a/lang/rust/distinfo Thu Aug 09 15:10:23 2018 +0000
+++ b/lang/rust/distinfo Thu Aug 09 17:04:03 2018 +0000
@@ -1,83 +1,76 @@
-$NetBSD: distinfo,v 1.31 2018/07/30 19:32:01 ryoon Exp $
+$NetBSD: distinfo,v 1.32 2018/08/09 17:04:03 jperkin Exp $
-SHA1 (rust-1.26.2-i686-apple-darwin.tar.gz) = 7a353c1875f4656e95a14ec4822c3c2a408d1d26
-RMD160 (rust-1.26.2-i686-apple-darwin.tar.gz) = 9377bd2f7373c5cf7b7e936e51d2749bea8f687f
-SHA512 (rust-1.26.2-i686-apple-darwin.tar.gz) = 0f899df504acc7eae6868a13de848a5f377bbad6c971554b8ad09a8933452afc384a94755c6583cd62ecaefe4d43cfe73fa7bbd85f24c93a8307f5026fbbf3a0
-Size (rust-1.26.2-i686-apple-darwin.tar.gz) = 174940090 bytes
-SHA1 (rust-1.26.2-i686-unknown-freebsd.tar.gz) = e2ada8d872f4d759d7db630aa6a9722c06c0fdd6
-RMD160 (rust-1.26.2-i686-unknown-freebsd.tar.gz) = 5d1d04b7359ef2aba4e255a0c716d3bd09fd24dd
-SHA512 (rust-1.26.2-i686-unknown-freebsd.tar.gz) = aab2dc5fd375802c669bdd3b022023f2c77d17129f5a8f8446c82a902c0b92c1d14308d71a696f2f3fad3342ace45832c597c0d253df3e526a0df36d67ea84a4
-Size (rust-1.26.2-i686-unknown-freebsd.tar.gz) = 149585114 bytes
-SHA1 (rust-1.26.2-i686-unknown-linux-gnu.tar.gz) = f915dac0ce461cb111eca5ff0cc5449103433557
-RMD160 (rust-1.26.2-i686-unknown-linux-gnu.tar.gz) = 22c5504c9761fc08b97a0b307faf9cb072096e58
-SHA512 (rust-1.26.2-i686-unknown-linux-gnu.tar.gz) = 6ee03947b19c9d28b718a17d3a7331f0df3eb5ac2202eeeb2c6518af0d6bef14724c252ba13dc3d38fd3aa599c96ea6f63fcdb07efad0940cf492ad1af85a2aa
-Size (rust-1.26.2-i686-unknown-linux-gnu.tar.gz) = 220177009 bytes
-SHA1 (rust-1.26.2-i686-unknown-netbsd.tar.gz) = 21ea8920c26d2ae3d82491a222d054e63655df48
-RMD160 (rust-1.26.2-i686-unknown-netbsd.tar.gz) = 50be35292b2c9dfdccf995a4366defa470638f2b
-SHA512 (rust-1.26.2-i686-unknown-netbsd.tar.gz) = 086554775d1e57f198a914dcb0abb6b7d08e04a7c3f5f6dbcac24edfad74aa815f0573b741459af92d9fe8e3525c40b2f03cfbd32f4a77128fe50402a23c200d
-Size (rust-1.26.2-i686-unknown-netbsd.tar.gz) = 154604715 bytes
-SHA1 (rust-1.26.2-x86_64-apple-darwin.tar.gz) = a4e8e9d91a026ce1f688b6a01015fbeb53232cb2
-RMD160 (rust-1.26.2-x86_64-apple-darwin.tar.gz) = 65d0274940a4fc879b546223e028e8cc6ae08ed2
-SHA512 (rust-1.26.2-x86_64-apple-darwin.tar.gz) = d9790e306068408dfb1e3b4dc5fc5c80fa278dd44cab90f643ee56b3589c6a9a4e1cf0418b1c01dae297f82551465009735ed6a102b9edb149a2a84199aa3b0c
-Size (rust-1.26.2-x86_64-apple-darwin.tar.gz) = 177660603 bytes
-SHA1 (rust-1.26.2-x86_64-sun-solaris.tar.gz) = 99dd19ed3dbed38390083864404d794197b6e6b6
-RMD160 (rust-1.26.2-x86_64-sun-solaris.tar.gz) = 19b9d7c8d5d4a15361517529d52c859fd346c505
-SHA512 (rust-1.26.2-x86_64-sun-solaris.tar.gz) = 92bf6272d317ea4fc4df854e7b5435b2b1bddc998ed31fc24c82db48cbf740824517f9a51e6c330cbf2651957d4fe6b4fae27ba2ac9173381d02cfe8c72d91c1
-Size (rust-1.26.2-x86_64-sun-solaris.tar.gz) = 178908672 bytes
-SHA1 (rust-1.26.2-x86_64-unknown-freebsd.tar.gz) = b0cac726bfe1e4ec546705b1acae81d0c7b5d770
-RMD160 (rust-1.26.2-x86_64-unknown-freebsd.tar.gz) = 1b9f475ee1d2c237448923110e93eff47245ff6e
-SHA512 (rust-1.26.2-x86_64-unknown-freebsd.tar.gz) = 6254d87199dbbe7ab51e93ebe58708f316a9ebe163f005d90bcf7aa4904eec1081f334936263f9d65d6d80f6e5ddd8df54d1e7c5167b505f8b573083a955e0b3
-Size (rust-1.26.2-x86_64-unknown-freebsd.tar.gz) = 148405629 bytes
-SHA1 (rust-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = fe1a41fdbdf496686051f92a55bd8c03758e423d
-RMD160 (rust-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = 26aab775074e2aa5f487fae3b762d2e1107fc3aa
-SHA512 (rust-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = dd374c1c24b66946ada5b6b4a8523b949092483fb493e84abe212c9acc1863b5bfcef02666401db5e6f496a4f344944cdb0cea39861a3ce908d623fac8ef1fa3
-Size (rust-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = 226354271 bytes
-SHA1 (rust-1.26.2-x86_64-unknown-netbsd.tar.gz) = cc7461fb34aeda1e436c2f534434a3e2495bdb5b
-RMD160 (rust-1.26.2-x86_64-unknown-netbsd.tar.gz) = 57c146c9f18b298ff20a55f5bebde41fe90b514a
-SHA512 (rust-1.26.2-x86_64-unknown-netbsd.tar.gz) = 8f6941537198421d8f70d4e3d50a2329fb8b95c305a47046be7e982ed89cbba173682d1369e853d6c46e9dff30d34092128aa3e0217765303beb7ade3a3613c1
-Size (rust-1.26.2-x86_64-unknown-netbsd.tar.gz) = 150371597 bytes
-SHA1 (rust-std-1.26.2-i686-apple-darwin.tar.gz) = 379ae519cd6b657c0afa1cd3c751ca5ce58ba018
-RMD160 (rust-std-1.26.2-i686-apple-darwin.tar.gz) = 20cd45f56f4d6070280a92e004b3813f2266a3f6
-SHA512 (rust-std-1.26.2-i686-apple-darwin.tar.gz) = 3cb6a0ec0618269e9d82d25817be662392bd8d04593ac74ef2f3446611bb7a7f931e6536c3fa0c0a6d6a8892845a0f4ff2146cf224ad53944e4901138e128000
-Size (rust-std-1.26.2-i686-apple-darwin.tar.gz) = 59490789 bytes
-SHA1 (rust-std-1.26.2-i686-unknown-freebsd.tar.gz) = 951e7266ac02c7cfef08d6b3657e7de7f8339734
-RMD160 (rust-std-1.26.2-i686-unknown-freebsd.tar.gz) = 3519116ef35f5b37b04fc96d6271089b10e6d872
-SHA512 (rust-std-1.26.2-i686-unknown-freebsd.tar.gz) = 62a62675d7d6fcddbe4d62c307db002d1561b5e39dbec70e66c08d31b62b63693f7f2158785488ec42974c2e9f1ba49137f16b9cc16ab4ea06fcf14b388b2f34
-Size (rust-std-1.26.2-i686-unknown-freebsd.tar.gz) = 65211002 bytes
-SHA1 (rust-std-1.26.2-i686-unknown-linux-gnu.tar.gz) = 2213547883fada13db1ab7f0378d4fe474e0d0a4
-RMD160 (rust-std-1.26.2-i686-unknown-linux-gnu.tar.gz) = f25b458f7fe61186222f166b45dfc0fd018f3314
-SHA512 (rust-std-1.26.2-i686-unknown-linux-gnu.tar.gz) = 60e8266ead32b07eae9759fb200dec85652957714802019bcd86d4206bd3811207c3da8c871074b5265b4de2fb3fdf4f7f1a336df6696ef3cd4b3baa66139491
-Size (rust-std-1.26.2-i686-unknown-linux-gnu.tar.gz) = 69975616 bytes
-SHA1 (rust-std-1.26.2-i686-unknown-netbsd.tar.gz) = 66a84ebb2089d4aaf78d6463f5cb61aee0890063
-RMD160 (rust-std-1.26.2-i686-unknown-netbsd.tar.gz) = 5ddd196147c8e7f7393ddd020c4c98716435479d
-SHA512 (rust-std-1.26.2-i686-unknown-netbsd.tar.gz) = 0324eee6d90b8ad3cbd9688ea67dcf46c9ed579d3334f920ec7a09aa20a3033112311fa4c7a811dc87b570a24e1e919f94e01afd3711751c47692fafa6d4756a
-Size (rust-std-1.26.2-i686-unknown-netbsd.tar.gz) = 67559596 bytes
-SHA1 (rust-std-1.26.2-x86_64-apple-darwin.tar.gz) = 8f65b07d947a85d26d7a68209f67408f5743f6b0
-RMD160 (rust-std-1.26.2-x86_64-apple-darwin.tar.gz) = 513f18302182ac623d22877a6f156dd3a4878141
-SHA512 (rust-std-1.26.2-x86_64-apple-darwin.tar.gz) = 411b3454fccf52b19a38461979c26cc96afb5c05e4e4d979d83b0879458615767e83fe912f61f48419e021cc70127e6557697711ec664e743f30c4ddfff20344
-Size (rust-std-1.26.2-x86_64-apple-darwin.tar.gz) = 60579134 bytes
-SHA1 (rust-std-1.26.2-x86_64-unknown-freebsd.tar.gz) = 54239133412e50e4774bb49b48d0e0d495cb9058
-RMD160 (rust-std-1.26.2-x86_64-unknown-freebsd.tar.gz) = 2468f69c7c81fbfbb24c422daaa2b58286e20cb6
-SHA512 (rust-std-1.26.2-x86_64-unknown-freebsd.tar.gz) = 3f7a69237a34039d3b41aac89343c88000fc9520cd1334f4cbc34e2112b338e8e48497f7daef0169b8adbac12c96cc77553f7323aa2c1f6d52247cd059c05119
-Size (rust-std-1.26.2-x86_64-unknown-freebsd.tar.gz) = 64733391 bytes
-SHA1 (rust-std-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = 1dc854f8032aafa5667d70fe56278fa7338ce216
-RMD160 (rust-std-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = f6ddbadb67ada47979ac9587df390727630db26c
-SHA512 (rust-std-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = f4db83ec5170852c922cfe5837b7f8f048b5539ff996534dd63f24329e2bd290f1683753ba8d653acc43b4d303f20ac86c31608ad6f8d252de24deb099bf9ae6
-Size (rust-std-1.26.2-x86_64-unknown-linux-gnu.tar.gz) = 81550232 bytes
-SHA1 (rust-std-1.26.2-x86_64-unknown-netbsd.tar.gz) = 1621968fbc19ebe3d864717cfb7049c7e401db64
-RMD160 (rust-std-1.26.2-x86_64-unknown-netbsd.tar.gz) = 1d03242cc13771fe6ba9752d4a63352f50741b1c
-SHA512 (rust-std-1.26.2-x86_64-unknown-netbsd.tar.gz) = 56a390eddecb10db7f52715e43261cba1374e0cf08bb36c9d26ca04eda5a4513cc9e9b2488c4ebc53cd3721f2f104df8bbb9a90b226eb8261263da7a89f76541
-Size (rust-std-1.26.2-x86_64-unknown-netbsd.tar.gz) = 67022448 bytes
-SHA1 (rustc-1.27.2-src.tar.gz) = af8d56609da8747ade91e5cba0f366629c697aa6
-RMD160 (rustc-1.27.2-src.tar.gz) = 3114297c3202de4449a4ff6eb829664423df2c34
-SHA512 (rustc-1.27.2-src.tar.gz) = a4dacae9b1652fa03d5262ccd4d503953743d3b088de0125ea7761d4d0b045e19a8a6ca3fef1d7c7fbbb33ec2516c7ea4c93130475a6af34dc01dce16587b3f9
-Size (rustc-1.27.2-src.tar.gz) = 96873639 bytes
+SHA1 (rust-1.27.2-i686-apple-darwin.tar.gz) = cf471217c9666c18a666e2b0faabd5a30d44010c
+RMD160 (rust-1.27.2-i686-apple-darwin.tar.gz) = 3910f9fac8babb80c5c84e3de8567ed530ab808f
+SHA512 (rust-1.27.2-i686-apple-darwin.tar.gz) = 44f9a9cf43ecbf4e9c3c70d03971fe17774d5d5adf630114bc18024233bdb59cc4d01d22a7591d0717aa4dbb517013d15519505a16b862ca77b29a457a97d625
+Size (rust-1.27.2-i686-apple-darwin.tar.gz) = 177655655 bytes
+SHA1 (rust-1.27.2-i686-unknown-freebsd.tar.gz) = fba9fff4437138b0c66fdd10314d24abf63b1483
+RMD160 (rust-1.27.2-i686-unknown-freebsd.tar.gz) = a9b7555b11bae4afeefe0083bcaec76dc5ca9bbd
+SHA512 (rust-1.27.2-i686-unknown-freebsd.tar.gz) = 981075144d4ee69593d91de839f28c2d6dec7b723999adac32ab20bd9582d1495e94c5a76acf371cf3a09dff9f73ee42b0512a890699f9cef41f1fb1bb462da1
+Size (rust-1.27.2-i686-unknown-freebsd.tar.gz) = 150817534 bytes
+SHA1 (rust-1.27.2-i686-unknown-linux-gnu.tar.gz) = 12a5c7bc2c36be8a6ffed96963893280edac1e89
+RMD160 (rust-1.27.2-i686-unknown-linux-gnu.tar.gz) = ade589d0a98d5e6460e7f3594f743d1d7d7ffd76
+SHA512 (rust-1.27.2-i686-unknown-linux-gnu.tar.gz) = d5e36d0c5e022b590445c6526bfa94e0c991c0d057f07f4d3ea596a5c3b80ab7cf121c9534dfd97e4925eff26c0fb2a7fcee8e95eb7d4b1a2b2b6f6ad4448dc5
+Size (rust-1.27.2-i686-unknown-linux-gnu.tar.gz) = 225459139 bytes
+SHA1 (rust-1.27.2-x86_64-apple-darwin.tar.gz) = 763b2af0d2c62765f564170fe37a957e3f573344
+RMD160 (rust-1.27.2-x86_64-apple-darwin.tar.gz) = 2738579049fa2cf1156efc79dc2dfb83082c5e70
+SHA512 (rust-1.27.2-x86_64-apple-darwin.tar.gz) = 53817892ef020fa2388ebf9dc9d7d6cfa36553ed163967cc0319a76b73db6e3fce825fd51d3cdcf202614fd2015546ee8ca5a2b61c517730a7dfd1a950b51d1b
+Size (rust-1.27.2-x86_64-apple-darwin.tar.gz) = 180680593 bytes
+SHA1 (rust-1.27.2-x86_64-sun-solaris.tar.gz) = 1344637f3283b16869197e1980de8f45f78ddab7
+RMD160 (rust-1.27.2-x86_64-sun-solaris.tar.gz) = 087b48129afc03c68207f5f558ed2377326b8ff3
+SHA512 (rust-1.27.2-x86_64-sun-solaris.tar.gz) = 578466111d43d665dfcac72e9ffda18e724a7b0fc34bb238d8fdf8aadacf79b18b365c5cb61c55e53794d899efd10de5daaafabb92cc46c71e118ef9c7cd3477
+Size (rust-1.27.2-x86_64-sun-solaris.tar.gz) = 196557353 bytes
+SHA1 (rust-1.27.2-x86_64-unknown-freebsd.tar.gz) = 0e4614dcdd4492b0babf30ee66a75a59577f1733
+RMD160 (rust-1.27.2-x86_64-unknown-freebsd.tar.gz) = 662f4bfdaf3adedf0326873f6f410bf1f0492034
+SHA512 (rust-1.27.2-x86_64-unknown-freebsd.tar.gz) = 94a8994de9a4a96446ff3d57e98f6b45ba7f5e5e2171a1e500f12595584eadfa884dc1b12f856257a9d7a21657b9f9f90e4046363e889d4ef9d9f81ecc627c09
+Size (rust-1.27.2-x86_64-unknown-freebsd.tar.gz) = 149727861 bytes
+SHA1 (rust-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = e6c4b93cb8ded56b6a9e703dec27ff8a904ff629
+RMD160 (rust-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = 90d1a3887865a72eea67e0c25bb3e9b5f531a2f7
+SHA512 (rust-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = 964c3fc6490e0cac38225a29992a6d27133f0dd3f4f61ffe8a6f6c5c69b217a37d3efedfc2aade96b36aeddfa3dca53e460cbe42a22e256167cdd0e55c2df434
+Size (rust-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = 231365190 bytes
+SHA1 (rust-1.27.2-x86_64-unknown-netbsd.tar.gz) = 1734a0b687dd71a6ed214626ac4b3bbbf593bc26
+RMD160 (rust-1.27.2-x86_64-unknown-netbsd.tar.gz) = 2f23c5962d287dd116695b8c82bf980f6f107973
+SHA512 (rust-1.27.2-x86_64-unknown-netbsd.tar.gz) = 27538675e1b97bd64860d75121870fe5017cb5a899026c93a6b5277085be51caac2a265a0a4a23f51a6870c15f31340a68f0999dcfb6078ef07ef49dfb3dcb9f
+Size (rust-1.27.2-x86_64-unknown-netbsd.tar.gz) = 151858875 bytes
+SHA1 (rust-std-1.27.2-i686-apple-darwin.tar.gz) = 3bf62ff668cf36613d0a4053c414475cbc59c64f
+RMD160 (rust-std-1.27.2-i686-apple-darwin.tar.gz) = 5b9995ee10e44e07216e4116fe0f9f6a8bbc153f
+SHA512 (rust-std-1.27.2-i686-apple-darwin.tar.gz) = fc96a42d29d924ef4623313bbe5444dc73e7ae6f4f2ccc9ee8afca5f2f8a9a9098a9bb1f28c5270dc60ee0e977b2f8564d728ca3d15974b2fed965686918aaa7
+Size (rust-std-1.27.2-i686-apple-darwin.tar.gz) = 58461164 bytes
+SHA1 (rust-std-1.27.2-i686-unknown-freebsd.tar.gz) = f224064e3579b73ec8b24986f99c1517779b0627
+RMD160 (rust-std-1.27.2-i686-unknown-freebsd.tar.gz) = 7ca42573b269139f19e8c7ff26ab2f7d53315004
+SHA512 (rust-std-1.27.2-i686-unknown-freebsd.tar.gz) = 26ac91bc258ff98014f7d5075821e79abd22b9a1424e7fa079605f3036eafb84e43073d8796c88372efbf638e812ee093abda6e196cbd1b8e93af5dda8fe659b
+Size (rust-std-1.27.2-i686-unknown-freebsd.tar.gz) = 65134371 bytes
+SHA1 (rust-std-1.27.2-i686-unknown-linux-gnu.tar.gz) = f33c22e5184567d3989adb38ced7bda6d28c37b0
+RMD160 (rust-std-1.27.2-i686-unknown-linux-gnu.tar.gz) = 1c2f8990394f4b396c51fc6ee9790df6b5c71eae
+SHA512 (rust-std-1.27.2-i686-unknown-linux-gnu.tar.gz) = 309b4e7370a0cd3e7b69f760a8b94f0908e06ebbd07b951a65c4106722d1e0e299d1256143f9d09e61a6b9034a1e2fea39312285d184e61c30b5b2d6ff8706eb
+Size (rust-std-1.27.2-i686-unknown-linux-gnu.tar.gz) = 69804714 bytes
+SHA1 (rust-std-1.27.2-x86_64-apple-darwin.tar.gz) = c913d9914a79db3ba52a88a24ce7209b85c2c71f
+RMD160 (rust-std-1.27.2-x86_64-apple-darwin.tar.gz) = b53c9da47baa5ac68cc21b938b32da19cb2e4762
+SHA512 (rust-std-1.27.2-x86_64-apple-darwin.tar.gz) = 1839d9d188673056a322b16b8946f107258167704b8eda9a6185e222a613ea59a42e643a669b049260ec0053e30fe0262193ed006f99cc89ce4b38ce83810200
+Size (rust-std-1.27.2-x86_64-apple-darwin.tar.gz) = 59590803 bytes
+SHA1 (rust-std-1.27.2-x86_64-unknown-freebsd.tar.gz) = a83ea7fbedb742fa2fbe39e7af7c987129a3687f
+RMD160 (rust-std-1.27.2-x86_64-unknown-freebsd.tar.gz) = d8094a34610ea60210c5fdbc2e635fa23e6852c6
+SHA512 (rust-std-1.27.2-x86_64-unknown-freebsd.tar.gz) = 7d2358a4de2d094caaf3df7b06b2d3a0cb66f2abd95e0fc2d7eadddaef949afdbe7defbbf5a40768cc1aee70c4403195db042f4b9b8a91f4bcab5e93299ec38c
+Size (rust-std-1.27.2-x86_64-unknown-freebsd.tar.gz) = 64679308 bytes
+SHA1 (rust-std-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = ccf68df5d7379e7c02877cbb774163533437320f
+RMD160 (rust-std-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = 9ac4cceac33d4b4e20314a838c00449ee47ea27c
+SHA512 (rust-std-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = d7481690f73e9bc2b0ee8ba9bf21e81c803514cba63018a5999761497c0d50ebb0d809aec450e868467c7620dbaa8c3215e1cddc0eeb7863ffb96e96260b6a87
+Size (rust-std-1.27.2-x86_64-unknown-linux-gnu.tar.gz) = 81226682 bytes
+SHA1 (rust-std-1.27.2-x86_64-unknown-netbsd.tar.gz) = 9479081b6fd0e2ce9dcf351624e6acca2bf86d87
+RMD160 (rust-std-1.27.2-x86_64-unknown-netbsd.tar.gz) = a87f788c72c1577092b3aad6dd3e1a52651901bf
+SHA512 (rust-std-1.27.2-x86_64-unknown-netbsd.tar.gz) = 96d5a7dcb65b2fa53f1eda6231825cf40f95ccf3e16b26ea49528f939d4f93b34c3f724bdccc503b9771fcdc1b0c4766e6bfbff695d4c44cc5ab571022d14533
+Size (rust-std-1.27.2-x86_64-unknown-netbsd.tar.gz) = 67018374 bytes
+SHA1 (rustc-1.28.0-src.tar.gz) = 2256655a8e20e4ce29dcc2219079d9e418058690
+RMD160 (rustc-1.28.0-src.tar.gz) = 97497baad42d04cb4157e02dc6a2d1b065117065
+SHA512 (rustc-1.28.0-src.tar.gz) = 4e4f121ee5a8a9f8e1ddb6ca5a0c43ba15c1349ecea9478fbcd0b242bf438b498f76bee97d33b9e078a47395e44cdea4c5aa0941e7dd21167abdf94314ef10ce
+Size (rustc-1.28.0-src.tar.gz) = 97756918 bytes
SHA1 (patch-src_bootstrap_bin_rustc.rs) = d9787517f03162d3548e89a91ecf933fd67774d8
SHA1 (patch-src_bootstrap_lib.rs) = d86e173b931099730a4f18d044d7977c89f87b91
SHA1 (patch-src_libbacktrace_configure) = b2c1e9b93a99408aad42ab9f1af27704cc81bdd8
+SHA1 (patch-src_liblibc_src_unix_solaris_mod.rs) = 0d17d0b53963cb551ff0bdddb628669458907a24
SHA1 (patch-src_libstd_build.rs) = 32dad8a474300f9f37bce8b92acca762cf8cc4ab
-SHA1 (patch-src_libstd_sys_unix_thread.rs) = 2a0b7ea8e7e09623826f306f9f1d0611799173d4
+SHA1 (patch-src_libstd_sys_unix_thread.rs) = 46ef46365658e2f895bd3dde9c74f352890e9ccc
SHA1 (patch-src_llvm_CMakeLists.txt) = ffdf4337fdc84d8314c97c4e492e6b84244a99d1
SHA1 (patch-src_llvm_cmake_modules_AddLLVM.cmake) = 282d97cce8d01cfefe565185d4999c2db9ccc13f
SHA1 (patch-src_llvm_include_llvm_Support_DataTypes.h.cmake) = 61cba4480d97e740d361708eb8e5c9b13bb2d36e
-SHA1 (patch-src_vendor_libc_src_unix_solaris_mod.rs) = a944011789f08f55bed15d691b50977d80369395
+SHA1 (patch-src_vendor_libc_src_unix_solaris_mod.rs) = 785263f25535c6644a674ca931e2591938b2d2f6
diff -r 103f8f81eec0 -r 470e0ab11ede lang/rust/patches/patch-src_liblibc_src_unix_solaris_mod.rs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/rust/patches/patch-src_liblibc_src_unix_solaris_mod.rs Thu Aug 09 17:04:03 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_liblibc_src_unix_solaris_mod.rs,v 1.3 2018/08/09 17:04:03 jperkin Exp $
+
+Add temporary upstream fixes for SunOS.
+
+--- src/liblibc/src/unix/solaris/mod.rs.orig 2018-07-30 22:16:16.000000000 +0000
++++ src/liblibc/src/unix/solaris/mod.rs
+@@ -692,6 +692,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;
++// This is not supported but is required for xattr
++pub const ENOATTR: ::c_int = ::ENODATA;
+ pub const ETIME: ::c_int = 62;
+ pub const ENOSR: ::c_int = 63;
+ pub const ENONET: ::c_int = 64;
+@@ -1208,7 +1210,7 @@ pub const EPOLLET: ::c_int = 0x80000000;
+ pub const EPOLLRDHUP: ::c_int = 0x2000;
+ pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;
+ pub const EPOLLONESHOT: ::c_int = 0x40000000;
+-pub const EPOLL_CLOEXEC: ::c_int = 0x02000000;
++pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
+ pub const EPOLL_CTL_ADD: ::c_int = 1;
+ pub const EPOLL_CTL_MOD: ::c_int = 3;
+ pub const EPOLL_CTL_DEL: ::c_int = 2;
diff -r 103f8f81eec0 -r 470e0ab11ede lang/rust/patches/patch-src_libstd_sys_unix_thread.rs
--- a/lang/rust/patches/patch-src_libstd_sys_unix_thread.rs Thu Aug 09 15:10:23 2018 +0000
+++ b/lang/rust/patches/patch-src_libstd_sys_unix_thread.rs Thu Aug 09 17:04:03 2018 +0000
@@ -1,29 +1,24 @@
-$NetBSD: patch-src_libstd_sys_unix_thread.rs,v 1.3 2018/06/25 13:31:11 ryoon Exp $
+$NetBSD: patch-src_libstd_sys_unix_thread.rs,v 1.4 2018/08/09 17:04:03 jperkin Exp $
---- src/libstd/sys/unix/thread.rs.orig 2018-06-24 22:42:29.203295357 +0000
+Fix stack-clash on SunOS.
+
+--- src/libstd/sys/unix/thread.rs.orig 2018-07-30 22:15:53.000000000 +0000
+++ src/libstd/sys/unix/thread.rs
-@@ -326,13 +326,22 @@ pub mod guard {
- // Reallocate the last page of the stack.
- // This ensures SIGBUS will be raised on
- // stack overflow.
-- let result = mmap(stackaddr, PAGE_SIZE, PROT_NONE,
-+ // Systems which enforce strict PAX MPROTECT do not allow
-+ // to mprotect() a mapping with less restrictive permissions
-+ // than the initial mmap() used, so we mmap() here with
-+ // read/write permissions and only then mprotect() it to
-+ // no permissions at all. See issue #50313.
-+ let result = mmap(stackaddr, PAGE_SIZE, PROT_READ | PROT_WRITE,
- MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0);
--
- if result != stackaddr || result == MAP_FAILED {
- panic!("failed to allocate a guard page");
- }
+@@ -309,7 +309,7 @@ pub mod guard {
+
+ let stackaddr = get_stack_start_aligned()?;
-+ let result = mprotect(stackaddr, PAGE_SIZE, PROT_NONE);
-+ if result != 0 {
-+ panic!("failed to protect the guard page");
-+ }
-+
- let guardaddr = stackaddr as usize;
- let offset = if cfg!(target_os = "freebsd") {
- 2
+- if cfg!(target_os = "linux") {
++ if cfg!(any(target_os = "linux", target_os = "solaris")) {
+ // Linux doesn't allocate the whole stack right away, and
+ // the kernel has its own stack-guard mechanism to fault
+ // when growing too close to an existing mapping. If we map
+@@ -354,7 +354,7 @@ pub mod guard {
+ }
+
+ pub unsafe fn deinit() {
+- if !cfg!(target_os = "linux") {
++ if cfg!(not(any(target_os = "linux", target_os = "solaris"))) {
+ if let Some(stackaddr) = get_stack_start_aligned() {
+ // Remove the protection on the guard page.
+ // FIXME: we cannot unmap the page, because when we mmap()
diff -r 103f8f81eec0 -r 470e0ab11ede lang/rust/patches/patch-src_vendor_libc_src_unix_solaris_mod.rs
--- a/lang/rust/patches/patch-src_vendor_libc_src_unix_solaris_mod.rs Thu Aug 09 15:10:23 2018 +0000
+++ b/lang/rust/patches/patch-src_vendor_libc_src_unix_solaris_mod.rs Thu Aug 09 17:04:03 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-src_vendor_libc_src_unix_solaris_mod.rs,v 1.1 2018/06/24 08:05:26 ryoon Exp $
+$NetBSD: patch-src_vendor_libc_src_unix_solaris_mod.rs,v 1.2 2018/08/09 17:04:03 jperkin Exp $
Work around build issue in xattr.
https://github.com/Stebalien/xattr/issues/18
---- src/vendor/libc/src/unix/solaris/mod.rs.orig 2018-06-19 05:52:22.000000000 +0000
+--- src/vendor/libc/src/unix/solaris/mod.rs.orig 2018-07-30 23:30:25.000000000 +0000
+++ src/vendor/libc/src/unix/solaris/mod.rs
@@ -692,6 +692,8 @@ pub const EOWNERDEAD: ::c_int = 58;
pub const ENOTRECOVERABLE: ::c_int = 59;
@@ -14,3 +14,12 @@
pub const ETIME: ::c_int = 62;
pub const ENOSR: ::c_int = 63;
pub const ENONET: ::c_int = 64;
+@@ -1208,7 +1210,7 @@ pub const EPOLLET: ::c_int = 0x80000000;
+ pub const EPOLLRDHUP: ::c_int = 0x2000;
+ pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;
+ pub const EPOLLONESHOT: ::c_int = 0x40000000;
+-pub const EPOLL_CLOEXEC: ::c_int = 0x02000000;
Home |
Main Index |
Thread Index |
Old Index