pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/rust-bin
Module Name: pkgsrc
Committed By: nia
Date: Sun Aug 30 18:26:17 UTC 2020
Modified Files:
pkgsrc/lang/rust-bin: Makefile distinfo
Log Message:
rust-bin: Update to 1.46.0
according to various people on tech-pkg@, there are no problems with
the Firefox build
Version 1.46.0 (2020-08-27)
==========================
Language
--------
- [`if`, `match`, and `loop` expressions can now be used in const functions.][72437]
- [Additionally you are now also able to coerce and cast to slices (`&[T]`) in
const functions.][73862]
- [The `#[track_caller]` attribute can now be added to functions to use the
function's caller's location information for panic messages.][72445]
- [Recursively indexing into tuples no longer needs parentheses.][71322] E.g.
`x.0.0` over `(x.0).0`.
- [`mem::transmute` can now be used in static and constants.][72920] **Note**
You currently can't use `mem::transmute` in constant functions.
Compiler
--------
- [You can now use the `cdylib` target on Apple iOS and tvOS platforms.][73516]
- [Enabled static "Position Independent Executables" by default
for `x86_64-unknown-linux-musl`.][70740]
Libraries
---------
- [`mem::forget` is now a `const fn`.][73887]
- [`String` now implements `From<char>`.][73466]
- [The `leading_ones`, and `trailing_ones` methods have been stabilised for all
integer types.][73032]
- [`vec::IntoIter<T>` now implements `AsRef<[T]>`.][72583]
- [All non-zero integer types (`NonZeroU8`) now implement `TryFrom` for their
zero-able equivalent (e.g. `TryFrom<u8>`).][72717]
- [`&[T]` and `&mut [T]` now implement `PartialEq<Vec<T>>`.][71660]
- [`(String, u16)` now implements `ToSocketAddrs`.][73007]
- [`vec::Drain<'_, T>` now implements `AsRef<[T]>`.][72584]
Stabilized APIs
---------------
- [`Option::zip`]
- [`vec::Drain::as_slice`]
Cargo
-----
Added a number of new environment variables that are now available when
compiling your crate.
- [`CARGO_BIN_NAME` and `CARGO_CRATE_NAME`][cargo/8270] Providing the name of
the specific binary being compiled and the name of the crate.
- [`CARGO_PKG_LICENSE`][cargo/8325] The license from the manifest of the package.
- [`CARGO_PKG_LICENSE_FILE`][cargo/8387] The path to the license file.
Compatibility Notes
-------------------
- [The target configuration option `abi_blacklist` has been renamed
to `unsupported_abis`.][74150] The old name will still continue to work.
- [Rustc will now warn if you cast a C-like enum that implements `Drop`.][72331]
This was previously accepted but will become a hard error in a future release.
- [Rustc will fail to compile if you have a struct with
`#[repr(i128)]` or `#[repr(u128)]`.][74109] This representation is currently only
allowed on `enum`s.
- [Tokens passed to `macro_rules!` are now always captured.][73293] This helps
ensure that spans have the correct information, and may cause breakage if you
were relying on receiving spans with dummy information.
- [The InnoSetup installer for Windows is no longer available.][72569] This was
a legacy installer that was replaced by a MSI installer a few years ago but
was still being built.
- [`{f32, f64}::asinh` now returns the correct values for negative numbers.][72486]
- [Rustc will no longer accept overlapping trait implementations that only
differ in how the lifetime was bound.][72493]
- [Rustc now correctly relates the lifetime of an existential associated
type.][71896] This fixes some edge cases where `rustc` would erroneously allow
you to pass a shorter lifetime than expected.
- [Rustc now dynamically links to `libz` (also called `zlib`) on Linux.][74420]
The library will need to be installed for `rustc` to work, even though we
expect it to be already available on most systems.
- [Tests annotated with `#[should_panic]` are broken on ARMv7 while running
under QEMU.][74820]
- [Pretty printing of some tokens in procedural macros changed.][75453] The
exact output returned by rustc's pretty printing is an unstable
implementation detail: we recommend any macro relying on it to switch to a
more robust parsing system.
[75453]: https://github.com/rust-lang/rust/issues/75453/
[74820]: https://github.com/rust-lang/rust/issues/74820/
[74420]: https://github.com/rust-lang/rust/issues/74420/
[74109]: https://github.com/rust-lang/rust/pull/74109/
[74150]: https://github.com/rust-lang/rust/pull/74150/
[73862]: https://github.com/rust-lang/rust/pull/73862/
[73887]: https://github.com/rust-lang/rust/pull/73887/
[73466]: https://github.com/rust-lang/rust/pull/73466/
[73516]: https://github.com/rust-lang/rust/pull/73516/
[73293]: https://github.com/rust-lang/rust/pull/73293/
[73007]: https://github.com/rust-lang/rust/pull/73007/
[73032]: https://github.com/rust-lang/rust/pull/73032/
[72920]: https://github.com/rust-lang/rust/pull/72920/
[72569]: https://github.com/rust-lang/rust/pull/72569/
[72583]: https://github.com/rust-lang/rust/pull/72583/
[72584]: https://github.com/rust-lang/rust/pull/72584/
[72717]: https://github.com/rust-lang/rust/pull/72717/
[72437]: https://github.com/rust-lang/rust/pull/72437/
[72445]: https://github.com/rust-lang/rust/pull/72445/
[72486]: https://github.com/rust-lang/rust/pull/72486/
[72493]: https://github.com/rust-lang/rust/pull/72493/
[72331]: https://github.com/rust-lang/rust/pull/72331/
[71896]: https://github.com/rust-lang/rust/pull/71896/
[71660]: https://github.com/rust-lang/rust/pull/71660/
[71322]: https://github.com/rust-lang/rust/pull/71322/
[70740]: https://github.com/rust-lang/rust/pull/70740/
[cargo/8270]: https://github.com/rust-lang/cargo/pull/8270/
[cargo/8325]: https://github.com/rust-lang/cargo/pull/8325/
[cargo/8387]: https://github.com/rust-lang/cargo/pull/8387/
[`Option::zip`]: https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.zip
[`vec::Drain::as_slice`]: https://doc.rust-lang.org/stable/std/vec/struct.Drain.html#method.as_slice
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/rust-bin/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/rust-bin/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust-bin/Makefile
diff -u pkgsrc/lang/rust-bin/Makefile:1.10 pkgsrc/lang/rust-bin/Makefile:1.11
--- pkgsrc/lang/rust-bin/Makefile:1.10 Wed Jul 15 15:13:57 2020
+++ pkgsrc/lang/rust-bin/Makefile Sun Aug 30 18:26:17 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2020/07/15 15:13:57 nia Exp $
+# $NetBSD: Makefile,v 1.11 2020/08/30 18:26:17 nia Exp $
-DISTNAME= rust-1.44.0
+DISTNAME= rust-1.46.0
PKGNAME= ${DISTNAME:S/rust/rust-bin/1}
CATEGORIES= lang
MASTER_SITES= https://static.rust-lang.org/dist/
@@ -94,25 +94,21 @@ do-install:
post-install: fix-darwin-install-name
fix-darwin-install-name:
. for bin in cargo-miri clippy-driver miri rls rustc rustdoc
- if [ -f ${DESTDIR}${PREFIX}/bin/${bin} ]; then \
- otool -XL ${DESTDIR}${PREFIX}/bin/${bin} \
- | ${GREP} '@rpath' | while read rpath rest; do \
- install_name_tool -change $$rpath \
- `${ECHO} $$rpath | ${SED} -e 's,@rpath,${PREFIX}/lib,g'` \
- ${DESTDIR}${PREFIX}/bin/${bin}; \
- done \
- ; fi
+ otool -XL ${DESTDIR}${PREFIX}/bin/${bin} \
+ | ${GREP} '@rpath' | while read rpath rest; do \
+ install_name_tool -change $$rpath \
+ `${ECHO} $$rpath | ${SED} -e 's,@rpath,${PREFIX}/lib,g'` \
+ ${DESTDIR}${PREFIX}/bin/${bin}; \
+ done
. endfor
. for bin in lldb lldb-mi llvm-nm llvm-objcopy llvm-objdump \
llvm-profdata llvm-readobj llvm-size llvm-strip
- if [ -f ${DESTDIR}${PREFIX}/bin/${bin} ]; then \
- otool -XL ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin} \
- | ${GREP} '@rpath' | while read rpath rest; do \
- install_name_tool -change $$rpath \
- `${ECHO} $$rpath | ${SED} -e 's,@rpath,${PREFIX}/lib/rustlib/${RUST_ARCH}/lib,g'` \
- ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin}; \
- done \
- ; fi
+ otool -XL ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin} \
+ | ${GREP} '@rpath' | while read rpath rest; do \
+ install_name_tool -change $$rpath \
+ `${ECHO} $$rpath | ${SED} -e 's,@rpath,${PREFIX}/lib/rustlib/${RUST_ARCH}/lib,g'` \
+ ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin}; \
+ done
. endfor
. for lib in lib lib/rustlib/${RUST_ARCH}/lib lib/rustlib/${RUST_ARCH}/codegen-backends
for f in ${DESTDIR}${PREFIX}/${lib}/lib*.dylib; do \
@@ -144,17 +140,13 @@ FORCE_RPATH= --force-rpath
post-install: fix-relative-rpath
fix-relative-rpath:
. for bin in cargo-miri clippy-driver miri rls rustc rustdoc
- if [ -f ${DESTDIR}${PREFIX}/bin/${bin} ]; then \
- ${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath \
- ${PREFIX}/lib ${DESTDIR}${PREFIX}/bin/${bin} \
- ; fi
+ ${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath \
+ ${PREFIX}/lib ${DESTDIR}${PREFIX}/bin/${bin}
. endfor
. for bin in llvm-ar llvm-nm llvm-objcopy llvm-objdump llvm-profdata \
llvm-readobj llvm-size llvm-strip
- if [ -f ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin} ]; then \
- ${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath ${RUST_LLVM_RPATH} \
- ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin} \
- ; fi
+ ${PREFIX}/bin/patchelf ${FORCE_RPATH} --set-rpath ${RUST_LLVM_RPATH} \
+ ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/bin/${bin}
. endfor
. for lib in lib lib/rustlib/${RUST_ARCH}/lib \
lib/rustlib/${RUST_ARCH}/codegen-backends
Index: pkgsrc/lang/rust-bin/distinfo
diff -u pkgsrc/lang/rust-bin/distinfo:1.2 pkgsrc/lang/rust-bin/distinfo:1.3
--- pkgsrc/lang/rust-bin/distinfo:1.2 Tue Jun 9 15:58:05 2020
+++ pkgsrc/lang/rust-bin/distinfo Sun Aug 30 18:26:17 2020
@@ -1,35 +1,35 @@
-$NetBSD: distinfo,v 1.2 2020/06/09 15:58:05 nia Exp $
+$NetBSD: distinfo,v 1.3 2020/08/30 18:26:17 nia Exp $
-SHA1 (rust-1.44.0-aarch64-unknown-linux-gnu.tar.gz) = 24970dd3121201dd3ce366ff4d49517c4bcf6dad
-RMD160 (rust-1.44.0-aarch64-unknown-linux-gnu.tar.gz) = 9d91cf483c224b19567e4e89441720dee65aa6a7
-SHA512 (rust-1.44.0-aarch64-unknown-linux-gnu.tar.gz) = 574dfd875a1506f4a4b4f896684d59ab7ff5325244939b242dcbe3aed0449e5f507966e5d879da7eede081f4d9c230a708bf502ff525d3c5a318bd34eed519a4
-Size (rust-1.44.0-aarch64-unknown-linux-gnu.tar.gz) = 156675554 bytes
-SHA1 (rust-1.44.0-i686-unknown-freebsd.tar.gz) = bbd0ea17117df54a6eececbd9ba8d0da2fdfd9e6
-RMD160 (rust-1.44.0-i686-unknown-freebsd.tar.gz) = e6ef30200074cbd9a531ad68156648fb5e9eccc4
-SHA512 (rust-1.44.0-i686-unknown-freebsd.tar.gz) = 74ff9075b28ce5b9eca77c0542e8b9446cc88a5db6e77886051b22ac3117c2e537fd4be1f8371e0d057f2e42456c04c51134aff81ab33efcc48516c4970da719
-Size (rust-1.44.0-i686-unknown-freebsd.tar.gz) = 123140342 bytes
-SHA1 (rust-1.44.0-i686-unknown-linux-gnu.tar.gz) = 67c4ad3ce015a69e28c4676c2628de3f15e90afa
-RMD160 (rust-1.44.0-i686-unknown-linux-gnu.tar.gz) = b79d29672882a477f653a24a5ff9c31517adf1b5
-SHA512 (rust-1.44.0-i686-unknown-linux-gnu.tar.gz) = b07d61f6b4c124e94d011c8eb3742309c864fedbf69df37233a7a69918487c34ce5d48eaf4d812c9f041d42bbcde0149be6310bf46bd75eed25ce52b62ecc105
-Size (rust-1.44.0-i686-unknown-linux-gnu.tar.gz) = 204511062 bytes
-SHA1 (rust-1.44.0-x86_64-apple-darwin.tar.gz) = d3cf8e0088ed4ef81a6c67d75c68a53a9897e410
-RMD160 (rust-1.44.0-x86_64-apple-darwin.tar.gz) = 057cd552cabafc6addfaf827f20ac369d829009c
-SHA512 (rust-1.44.0-x86_64-apple-darwin.tar.gz) = 21f7c528ef38a8dc3275749b11923439313237d01cb83c725a93e5c5746f0fc52356786bc4451cf1915594c0e151a3458b43ae80d2c82ad674255aae28c89022
-Size (rust-1.44.0-x86_64-apple-darwin.tar.gz) = 173815253 bytes
-SHA1 (rust-1.44.0-x86_64-unknown-freebsd.tar.gz) = f3a2b6ec86c7e30b13d9f8a8d148657aa3137730
-RMD160 (rust-1.44.0-x86_64-unknown-freebsd.tar.gz) = 508415f47221bc6642bb5b8d9267804cd6106725
-SHA512 (rust-1.44.0-x86_64-unknown-freebsd.tar.gz) = d76db9273f1702419b5d3a6a0c8faf575d716292ee85db851441648fa8f46f382b2555953dbd25db3733e25bf5d6e3e979f081fd5b4e668f53225754c5a5bacc
-Size (rust-1.44.0-x86_64-unknown-freebsd.tar.gz) = 123464670 bytes
-SHA1 (rust-1.44.0-x86_64-unknown-linux-gnu.tar.gz) = dd577355e6bcf8ef67f19f77836910e90a7ab5ee
-RMD160 (rust-1.44.0-x86_64-unknown-linux-gnu.tar.gz) = 465f0c4d9ec7f66868bd6c8cecbef7f12a532a6e
-SHA512 (rust-1.44.0-x86_64-unknown-linux-gnu.tar.gz) = 5f13a2f069756daf03965bf183401e670b93e1264eb7c8639c4297573b2d1cbcae07d437154e6296270bfdfd155c23ded66d7c4e0a539c60ddf023a9057255c0
-Size (rust-1.44.0-x86_64-unknown-linux-gnu.tar.gz) = 188776305 bytes
-SHA1 (rust-1.44.0-x86_64-unknown-linux-musl.tar.gz) = f3321e0d34fdf55800754a0300bc3da8f2c712f1
-RMD160 (rust-1.44.0-x86_64-unknown-linux-musl.tar.gz) = f2f513fdd9db61992aa433c9a61b0d05e9e5d7e9
-SHA512 (rust-1.44.0-x86_64-unknown-linux-musl.tar.gz) = 54f4dd616e7eaae906ca585aa5834cf194833caa052c04f3e296dae224da79934c7cadfa8a9ff3d89d036c2f2001690acd09514f11025f59d1a3dda62e71a7b0
-Size (rust-1.44.0-x86_64-unknown-linux-musl.tar.gz) = 171923245 bytes
-SHA1 (rust-1.44.0-x86_64-unknown-netbsd.tar.gz) = 12a20c742baf3f1bed6f2b47c60476a2134e3d78
-RMD160 (rust-1.44.0-x86_64-unknown-netbsd.tar.gz) = 595fc6df2b9e16196ce491cb4f215efcf9a5909c
-SHA512 (rust-1.44.0-x86_64-unknown-netbsd.tar.gz) = da3760f1f0d4901f7c5f1cf8eac1f809cc8fab78f13ca6ca3f1d5a1e57837ff6ace46f0e752a5caee165630aed0f32302550cc3fdac58be4d4e6308002d946c4
-Size (rust-1.44.0-x86_64-unknown-netbsd.tar.gz) = 128799057 bytes
+SHA1 (rust-1.46.0-aarch64-unknown-linux-gnu.tar.gz) = f80069bec37fc38f4265aa93883d2d762e3a6f93
+RMD160 (rust-1.46.0-aarch64-unknown-linux-gnu.tar.gz) = 61a0a01ba72cad6c2bbc250b54d64327ef9d0f3f
+SHA512 (rust-1.46.0-aarch64-unknown-linux-gnu.tar.gz) = fec3cef5c86d546e0b0a6d4c6e9547eff0344a2df53d337e5eb31e8686d5ea346ea3d1c17addabf557daf8f32023b2f9011b91641d280e2a82f910a39ae16070
+Size (rust-1.46.0-aarch64-unknown-linux-gnu.tar.gz) = 198415462 bytes
+SHA1 (rust-1.46.0-i686-unknown-freebsd.tar.gz) = ae44f976ccf0d75fa628111066c837b30fe48552
+RMD160 (rust-1.46.0-i686-unknown-freebsd.tar.gz) = 7192a7ec3466e052adff03276aa4a700056d9c6a
+SHA512 (rust-1.46.0-i686-unknown-freebsd.tar.gz) = 83dc955a5d4ae662cc9d040f63ad4256f4f119840206e9a6cc63a50471e50e0ec2d8ba0d5a08c884be426f0c564e5aac8cdb72f3d53d1dcf9693721fb1907281
+Size (rust-1.46.0-i686-unknown-freebsd.tar.gz) = 148236060 bytes
+SHA1 (rust-1.46.0-i686-unknown-linux-gnu.tar.gz) = 03708900d3b598fb5d0744fc3231717583332480
+RMD160 (rust-1.46.0-i686-unknown-linux-gnu.tar.gz) = b1b0edef4ef59fb45b10651be535e86ab39388cb
+SHA512 (rust-1.46.0-i686-unknown-linux-gnu.tar.gz) = f1c31dd5ff2418558adc066ec28a30397174c98c430fe2d460e7fd8aa69bdf829c4664d6ce0e0865abe0826a2c4b984f657fbdd16434b652c246f9565e726e8e
+Size (rust-1.46.0-i686-unknown-linux-gnu.tar.gz) = 239332716 bytes
+SHA1 (rust-1.46.0-x86_64-apple-darwin.tar.gz) = ab50631713ba1ea0c9cf8759d4a4773dc2583133
+RMD160 (rust-1.46.0-x86_64-apple-darwin.tar.gz) = 389cca70b6343be27ba0719803a00117a36b882d
+SHA512 (rust-1.46.0-x86_64-apple-darwin.tar.gz) = a49f3e1205a0cf4419a0c910168f16c5566b665129ca5f7c7ba0b7c885a335672484aecffad1bf2fb8b462d1e08a7f70c5150e1a7394e138eec0e8c7f3ee8d28
+Size (rust-1.46.0-x86_64-apple-darwin.tar.gz) = 200695610 bytes
+SHA1 (rust-1.46.0-x86_64-unknown-freebsd.tar.gz) = 8232b2e76f71d56c3e274ca62c44767020926a56
+RMD160 (rust-1.46.0-x86_64-unknown-freebsd.tar.gz) = 6dd5f589bb146c59139a56b023f76b6903d79eff
+SHA512 (rust-1.46.0-x86_64-unknown-freebsd.tar.gz) = 1e1b0dbeaa17e27be58704b7c600d88b53322689a05471e8ffcfd65934b90a3ff4dddc49cbf2be8ae1f069ca4ee6512b5e3aebc7a88ee329baa3d37d12788118
+Size (rust-1.46.0-x86_64-unknown-freebsd.tar.gz) = 148721211 bytes
+SHA1 (rust-1.46.0-x86_64-unknown-linux-gnu.tar.gz) = 466e32dbaf6fe105e7d754c1daba4ab32365d3d6
+RMD160 (rust-1.46.0-x86_64-unknown-linux-gnu.tar.gz) = 832375edc504d4b7eab308c64db86b4f13c76d4c
+SHA512 (rust-1.46.0-x86_64-unknown-linux-gnu.tar.gz) = 1924938ad33a145c022d0880b6d2ae03dc263a2a3c316147f4ec44751d42a74a4280b4a74ea32f1723644f8299e26ddcb0876b12f32ee9a3d359072bfa55be22
+Size (rust-1.46.0-x86_64-unknown-linux-gnu.tar.gz) = 220885103 bytes
+SHA1 (rust-1.46.0-x86_64-unknown-linux-musl.tar.gz) = 53a95d7e02872f37c8f5796696a90378f0312f9e
+RMD160 (rust-1.46.0-x86_64-unknown-linux-musl.tar.gz) = 403da91286091f1dff2e7b00d5562ba76ca3beed
+SHA512 (rust-1.46.0-x86_64-unknown-linux-musl.tar.gz) = 074eb8d5e399dd1bd10fbc0c05d285b20aee46d6c1a04c0caf38c564cff94a39070fc9ca9ade127140cbb7a652f3918624e8932edf115b73ff4b8f2ababfdf37
+Size (rust-1.46.0-x86_64-unknown-linux-musl.tar.gz) = 209588276 bytes
+SHA1 (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = 61956d35f668318f91523edf983ef280c967e4f8
+RMD160 (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = f73fe050d4f536bba8577104eb93471a468b714c
+SHA512 (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = afaeb235f445a8813838548ee694c90ab71c3a0fc235652ce0d35e932f0609e2be9f5986bd99ed80d03b24e1b1362ccb6db05cb1eff61284a523477b19f34d7a
+Size (rust-1.46.0-x86_64-unknown-netbsd.tar.gz) = 154685586 bytes
SHA1 (patch-install.sh) = 4dc4edcbda3c9d2b60ea51b5f83cadd5992ba786
Home |
Main Index |
Thread Index |
Old Index