Skip to content

Commit

Permalink
Update to 1.21.0
Browse files Browse the repository at this point in the history
Changelog:
Version 1.21.0 (2017-10-12)
==========================

Language
--------
- [You can now use static references for literals.][43838]
  Example:
  ```rust
  fn main() {
      let x: &'static u32 = &0;
  }
  ```
- [Relaxed path syntax. Optional `::` before `<` is now allowed in all contexts.][43540]
  Example:
  ```rust
  my_macro!(Vec<i32>::new); // Always worked
  my_macro!(Vec::<i32>::new); // Now works
  ```

Compiler
--------
- [Upgraded jemalloc to 4.5.0][43911]
- [Enabled unwinding panics on Redox][43917]
- [Now runs LLVM in parallel during translation phase.][43506]
  This should reduce peak memory usage.

Libraries
---------
- [Generate builtin impls for `Clone` for all arrays and tuples that
  are `T: Clone`][43690]
- [`Stdin`, `Stdout`, and `Stderr` now implement `AsRawFd`.][43459]
- [`Rc` and `Arc` now implement `From<&[T]> where T: Clone`, `From<str>`,
  `From<String>`, `From<Box<T>> where T: ?Sized`, and `From<Vec<T>>`.][42565]

Stabilized APIs
---------------

[`std::mem::discriminant`]

Cargo
-----
- [You can now call `cargo install` with multiple package names][cargo/4216]
- [Cargo commands inside a virtual workspace will now implicitly
  pass `--all`][cargo/4335]
- [Added a `[patch]` section to `Cargo.toml` to handle
  prepublication dependencies][cargo/4123] [RFC 1969]
- [`include` & `exclude` fields in `Cargo.toml` now accept gitignore
  like patterns][cargo/4270]
- [Added the `--all-targets` option][cargo/4400]
- [Using required dependencies as a feature is now deprecated and emits
  a warning][cargo/4364]


Misc
----
- [Cargo docs are moving][43916]
  to [doc.rust-lang.org/cargo](https://doc.rust-lang.org/cargo)
- [The rustdoc book is now available][43863]
  at [doc.rust-lang.org/rustdoc](https://doc.rust-lang.org/rustdoc)
- [Added a preview of RLS has been made available through rustup][44204]
  Install with `rustup component add rls-preview`
- [`std::os` documentation for Unix, Linux, and Windows now appears on doc.rust-lang.org][43348]
  Previously only showed `std::os::unix`.

Compatibility Notes
-------------------
- [Changes in method matching against higher-ranked types][43880] This may cause
  breakage in subtyping corner cases. [A more in-depth explanation is available.][info/43880]
- [rustc's JSON error output's byte position start at top of file.][42973]
  Was previously relative to the rustc's internal `CodeMap` struct which
  required the unstable library `libsyntax` to correctly use.
- [`unused_results` lint no longer ignores booleans][43728]

[42565]: rust-lang/rust#42565
[42973]: rust-lang/rust#42973
[43348]: rust-lang/rust#43348
[43459]: rust-lang/rust#43459
[43506]: rust-lang/rust#43506
[43540]: rust-lang/rust#43540
[43690]: rust-lang/rust#43690
[43728]: rust-lang/rust#43728
[43838]: rust-lang/rust#43838
[43863]: rust-lang/rust#43863
[43880]: rust-lang/rust#43880
[43911]: rust-lang/rust#43911
[43916]: rust-lang/rust#43916
[43917]: rust-lang/rust#43917
[44204]: rust-lang/rust#44204
[cargo/4123]: rust-lang/cargo#4123
[cargo/4216]: rust-lang/cargo#4216
[cargo/4270]: rust-lang/cargo#4270
[cargo/4335]: rust-lang/cargo#4335
[cargo/4364]: rust-lang/cargo#4364
[cargo/4400]: rust-lang/cargo#4400
[RFC 1969]: rust-lang/rfcs#1969
[info/43880]: rust-lang/rust#44224 (comment)
[`std::mem::discriminant`]: https://doc.rust-lang.org/std/mem/fn.discriminant.html
  • Loading branch information
ryoon committed Nov 3, 2017
1 parent baa3a35 commit 04adcf6
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 56 deletions.
7 changes: 4 additions & 3 deletions lang/rust/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.15 2017/10/21 12:15:56 ryoon Exp $
# $NetBSD: Makefile,v 1.16 2017/11/03 22:04:10 ryoon Exp $

DISTNAME= rustc-1.20.0-src
DISTNAME= rustc-1.21.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
CATEGORIES= lang
MASTER_SITES= http://static.rust-lang.org/dist/
Expand Down Expand Up @@ -38,7 +38,7 @@ 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.19.0
RUST_STAGE0_VER= 1.20.0
#
.if !empty(MACHINE_PLATFORM:MDarwin-*-i386) || make(distinfo) || make (makesum) || make(mdi)
RUST_ARCH:= i686-apple-darwin
Expand Down Expand Up @@ -140,6 +140,7 @@ do-configure:
do-build:
cd ${WRKSRC} \
&& env ${MAKE_ENV} \
LD_LIBRARY_PATH=${WRKDIR}/rust-${RUST_STAGE0_VER}-${RUST_ARCH}/rustc/lib \
${PYTHONBIN} ./x.py dist

do-install:
Expand Down
106 changes: 53 additions & 53 deletions lang/rust/distinfo
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
$NetBSD: distinfo,v 1.8 2017/10/21 12:15:56 ryoon Exp $
$NetBSD: distinfo,v 1.9 2017/11/03 22:04:10 ryoon Exp $

SHA1 (rust-1.19.0-i686-apple-darwin.tar.gz) = 734f97ee710377a9daf70b29a1910e052a75145e
RMD160 (rust-1.19.0-i686-apple-darwin.tar.gz) = 89ddcf16598db49edfbd555ad65864643b325317
SHA512 (rust-1.19.0-i686-apple-darwin.tar.gz) = c1915c4d2e16aebb0b0ede1abbbe2fefdc5ab8ec1ba0e78b8080ee5723e2f0c4834a3ede1af36d7403249954d2394d21d251b896b84449720d41d9f0e37509c1
Size (rust-1.19.0-i686-apple-darwin.tar.gz) = 123857761 bytes
SHA1 (rust-1.19.0-i686-unknown-linux-gnu.tar.gz) = 1f51a4d402f1bfaef4be4b98c03971cc474269c4
RMD160 (rust-1.19.0-i686-unknown-linux-gnu.tar.gz) = e57bf7dc1f3993e9d4cdcf5284726650fa782dd4
SHA512 (rust-1.19.0-i686-unknown-linux-gnu.tar.gz) = a41bc6b576e04e4ced66c69524eedca6528b8a559c4877408be590d48ce4c77f6157f9adbc9e87e209f3e2d21ae105305195dbbfbf519f8df88a1615b49b3b0e
Size (rust-1.19.0-i686-unknown-linux-gnu.tar.gz) = 143010900 bytes
SHA1 (rust-1.19.0-i686-unknown-netbsd.tar.gz) = 113ce69d893a3d4b12cf20ed463d4f493484b888
RMD160 (rust-1.19.0-i686-unknown-netbsd.tar.gz) = f49a077ea18d3ff239089983904bd80396da1d9e
SHA512 (rust-1.19.0-i686-unknown-netbsd.tar.gz) = f4869d0d4cdaf94c8e0f7973194c16e413d216f63e79d70685bf4f7705bfc3071845f2228fec39e0b9ba2a6f3e500ab1b87716a5bc2a84142617432f576e0423
Size (rust-1.19.0-i686-unknown-netbsd.tar.gz) = 153571909 bytes
SHA1 (rust-1.19.0-x86_64-apple-darwin.tar.gz) = 5ca546d840acb9f440f907dec511ed79ba31de38
RMD160 (rust-1.19.0-x86_64-apple-darwin.tar.gz) = 7231be728c47cfb95b0f58cfdb6adfb47059f8d4
SHA512 (rust-1.19.0-x86_64-apple-darwin.tar.gz) = 3cdb5c4a3cd1172dac81996ce8e9373738c14ba4396ebee26e295d52907268cf9a8b7486efbc99d8da0116cf14bb4c6061a5c40d08549c4fa3f416102c9187b0
Size (rust-1.19.0-x86_64-apple-darwin.tar.gz) = 125996004 bytes
SHA1 (rust-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = d5dc04377a22a3b438237cd4c4b409cd838fee2d
RMD160 (rust-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = f4e106e051fbe1138fcb7378c3ce881c899ee0e4
SHA512 (rust-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = fc98ad7728a72c9bc93505458f7558405cc6a608eb19aa6c609e0155e7c081123f116cf023d19af2f0cd9cb81b8e1bbe69efd88f7bb61cca2d258d5fa2ed6bba
Size (rust-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = 151087058 bytes
SHA1 (rust-1.19.0-x86_64-unknown-netbsd.tar.gz) = 00c3c6cc3fac0a7a624cd2b7399ae8a166a07785
RMD160 (rust-1.19.0-x86_64-unknown-netbsd.tar.gz) = 2481131fb0e42854899d488aff22f40aa477a928
SHA512 (rust-1.19.0-x86_64-unknown-netbsd.tar.gz) = d5deee7548cd3681485d9e3bc69ed8567f09aee7f9138cbb64f0834dd1ea94dd2840ea638d26fa6314f373055bfae0267252a26771e5d898fe9e4f7b664c69ec
Size (rust-1.19.0-x86_64-unknown-netbsd.tar.gz) = 132910944 bytes
SHA1 (rust-std-1.19.0-i686-apple-darwin.tar.gz) = f7fdec0f3808d9855247f89c6f69f71f1ca8f1c2
RMD160 (rust-std-1.19.0-i686-apple-darwin.tar.gz) = ee86bdf02a95449ff6730cedca5b4db45e328098
SHA512 (rust-std-1.19.0-i686-apple-darwin.tar.gz) = 7a66a3a40f03c05c40384b4a98ed556676b9916fa5000c19e45589e2cfec6a8f1f8370622448e452ca840806a162123a04816ab2689e75030dfcac81d8251561
Size (rust-std-1.19.0-i686-apple-darwin.tar.gz) = 61979244 bytes
SHA1 (rust-std-1.19.0-i686-unknown-linux-gnu.tar.gz) = d161cd03a58422b02f6b117390110dbf6e11e65a
RMD160 (rust-std-1.19.0-i686-unknown-linux-gnu.tar.gz) = bb15a3b4344d22c5763592ff6de97a907f8b9a15
SHA512 (rust-std-1.19.0-i686-unknown-linux-gnu.tar.gz) = b98436d2adb2bb13fdb6e65da38fc95203b6ea698f48d8073135e26977b9126459cf77854c28c0644ecf2dffaca67cec96bd4ddec37ba6f70b6fbca77445f7ec
Size (rust-std-1.19.0-i686-unknown-linux-gnu.tar.gz) = 72017320 bytes
SHA1 (rust-std-1.19.0-i686-unknown-netbsd.tar.gz) = 3d52af4a94a809c7d9954368363f2ea778c82bd3
RMD160 (rust-std-1.19.0-i686-unknown-netbsd.tar.gz) = 1bb094f559c299aa8986b03b605221c2001e493b
SHA512 (rust-std-1.19.0-i686-unknown-netbsd.tar.gz) = ad36df1a5f1f02472227028df86b49f7f540556e71095a7718eafd72c632d22fc5919838249a1ea0b3d496e9175ae535ad9696de3d0d23e7a6e26bd790c8a0f5
Size (rust-std-1.19.0-i686-unknown-netbsd.tar.gz) = 76409481 bytes
SHA1 (rust-std-1.19.0-x86_64-apple-darwin.tar.gz) = 2b947e6e1e30ca9af4fbb266180605d80891c229
RMD160 (rust-std-1.19.0-x86_64-apple-darwin.tar.gz) = d873cf5f6976f08a7673bb402e08fe1261686ba0
SHA512 (rust-std-1.19.0-x86_64-apple-darwin.tar.gz) = ffca9ee4818ce78d0c68826d6cfdf70983208cf13f84020f921259123d80eca572c73150642fad7b096f14064bc83d332f1baea840a11348994348b54f826c70
Size (rust-std-1.19.0-x86_64-apple-darwin.tar.gz) = 62923553 bytes
SHA1 (rust-std-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = 44d73264a376278efc48eb2bd57e09a29369fe84
RMD160 (rust-std-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = 2ff4aec102032d522ff1a1a2a340de8809c23442
SHA512 (rust-std-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = f7f78ead3199f3dd08712520b927c8a94a1de69f7f6c07fc48415eb990273627899ee669fa0597988675052c4151c164ce0874512cbb42aabea2fff15fbdf3af
Size (rust-std-1.19.0-x86_64-unknown-linux-gnu.tar.gz) = 81968679 bytes
SHA1 (rust-std-1.19.0-x86_64-unknown-netbsd.tar.gz) = e66e3e4d6a61e0f7a249860e4b9a1c010ebbae12
RMD160 (rust-std-1.19.0-x86_64-unknown-netbsd.tar.gz) = d879161913e81231406688fd118f555a23492df6
SHA512 (rust-std-1.19.0-x86_64-unknown-netbsd.tar.gz) = 94f1c8140fa1abaa34e98edd045cc7119614beb902d72f19626c16e6fe1c0b85fdd1e5cd20561b4ed4978ed70731b4c9683781d6731c7b2ca98ad646c9ba39f1
Size (rust-std-1.19.0-x86_64-unknown-netbsd.tar.gz) = 67263317 bytes
SHA1 (rustc-1.20.0-src.tar.gz) = 502e452e06104e336fcbf57e54b4d64db01c1ec2
RMD160 (rustc-1.20.0-src.tar.gz) = fd116c051d21e6f20ca1b7fa5fd09d67299931aa
SHA512 (rustc-1.20.0-src.tar.gz) = bc7dc78f4d81b7d35309d81fae2aac1f5f157eb3350e533911e79e3323a6ea056483ff0b6c63148bd8c3d070df7172374a669fbc4554e77889cfbacb5dbb46c3
Size (rustc-1.20.0-src.tar.gz) = 50418082 bytes
SHA1 (rust-1.20.0-i686-apple-darwin.tar.gz) = a6dfd1c13abe89f285979a7264a1a8b0987ccaf9
RMD160 (rust-1.20.0-i686-apple-darwin.tar.gz) = da59f39d68ae4b4b1a11e371962fba6d7cf0ef2d
SHA512 (rust-1.20.0-i686-apple-darwin.tar.gz) = ed817b5c286836403ccf8199a366c25793c3880ea41e3111450e1e84f5b82fbe36e44ea8e757738f1ee702d21ece07b22d51b5e46c77a1228f3baf942fde3ee8
Size (rust-1.20.0-i686-apple-darwin.tar.gz) = 126754526 bytes
SHA1 (rust-1.20.0-i686-unknown-linux-gnu.tar.gz) = f84ef2c8449930bc5a0e6e55a52244e75c42844a
RMD160 (rust-1.20.0-i686-unknown-linux-gnu.tar.gz) = 5ab04d604c6eed3b0706a0a358bdae36a9745d12
SHA512 (rust-1.20.0-i686-unknown-linux-gnu.tar.gz) = 5e844b8f2fdc969c5866ae7e70b1cbc8987fd18aab66bb2f9d75fefbb47e300d22a95310a62fa54c81aef2adcda1fc303f16ea73961e6398d61df6273a06d18a
Size (rust-1.20.0-i686-unknown-linux-gnu.tar.gz) = 146104159 bytes
SHA1 (rust-1.20.0-i686-unknown-netbsd.tar.gz) = 05c023d8537d79f09c5e27bff900c2cc3cffb708
RMD160 (rust-1.20.0-i686-unknown-netbsd.tar.gz) = 401b8b1e3c92d4b48e14e4b2575cad29a16e919a
SHA512 (rust-1.20.0-i686-unknown-netbsd.tar.gz) = fab1b8d7501dc94438d1ae31a2f238492d1de79e2f179916aea45b6d138452ceaad80599226f5071ee72026a48a3c8c9420f3bc923072ca9120b4d549780eaec
Size (rust-1.20.0-i686-unknown-netbsd.tar.gz) = 156321072 bytes
SHA1 (rust-1.20.0-x86_64-apple-darwin.tar.gz) = 3fd58362b30e3cb10442a77fc6b047f9a6486237
RMD160 (rust-1.20.0-x86_64-apple-darwin.tar.gz) = 458b8cc20775c7db7d691632e4ba70ebac2426f8
SHA512 (rust-1.20.0-x86_64-apple-darwin.tar.gz) = 276f75b785076045512035a98c6ec78057497340db5077bf0a1e491fe571ef63bebce6e50884a1f636f04d601c5c9e85018588c3e2bf2f4b15653fbc54b279de
Size (rust-1.20.0-x86_64-apple-darwin.tar.gz) = 129228477 bytes
SHA1 (rust-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = cb015e25b4666624b7984e2d9154f1bf273c2ae7
RMD160 (rust-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = 0215150d516b0b313b64d48606743e4c51061f2e
SHA512 (rust-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = 709a3df5733443bd53e18f78998fbd0ff0cba38d6ef5526570f3d388414576f38019d5fbece7408ab28b5d6fbd9ceb4b830ce31352da1ff5ccfc4e2757d68d17
Size (rust-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = 155061662 bytes
SHA1 (rust-1.20.0-x86_64-unknown-netbsd.tar.gz) = 3085036864a1191ab1698b7bc7630f6a84403b8c
RMD160 (rust-1.20.0-x86_64-unknown-netbsd.tar.gz) = f07c8ebd1658a94485eba74a1f7136240db1084f
SHA512 (rust-1.20.0-x86_64-unknown-netbsd.tar.gz) = ca07d56e8203e7e7ebbc9f4a71c14926fd881b28d4913b0c3edfc5a2a665210aa608389e23b25f3e2e132770163a2ce614f4d36b7efdc65ac1416f05eda7416e
Size (rust-1.20.0-x86_64-unknown-netbsd.tar.gz) = 136562560 bytes
SHA1 (rust-std-1.20.0-i686-apple-darwin.tar.gz) = 0bce2a29cd3e4b9bb63687e2a74c3c26e68a74e2
RMD160 (rust-std-1.20.0-i686-apple-darwin.tar.gz) = 1444c409146339a33045f0f2cd10bf6d993f543c
SHA512 (rust-std-1.20.0-i686-apple-darwin.tar.gz) = f378a360e5f091f4b75a9df48f84e08b998721c75ef3cea33afa907894569d8784380f341bcd6a794088f3c5d106a7d870c4315a5d26e1443b675a39823dcaeb
Size (rust-std-1.20.0-i686-apple-darwin.tar.gz) = 64172815 bytes
SHA1 (rust-std-1.20.0-i686-unknown-linux-gnu.tar.gz) = 4873d039a5f00d1bd7892a2ff06f89d91a671820
RMD160 (rust-std-1.20.0-i686-unknown-linux-gnu.tar.gz) = f956f8e5d2ff5ac13ccc3b20d49f39c54f6db088
SHA512 (rust-std-1.20.0-i686-unknown-linux-gnu.tar.gz) = 20c1e4ac862aaaf538fe2e24445ec5f9f4aecee0ebb366239f6da83be77157c502909b536810f91299c0ae7c40fea8058fdb824533fe62d213e2735270506a92
Size (rust-std-1.20.0-i686-unknown-linux-gnu.tar.gz) = 74370394 bytes
SHA1 (rust-std-1.20.0-i686-unknown-netbsd.tar.gz) = 8900ea8d29c91f1113c5be7263911e30f4f53a6c
RMD160 (rust-std-1.20.0-i686-unknown-netbsd.tar.gz) = 850874e9717a4535a257ea3231a022ebc5f20a4b
SHA512 (rust-std-1.20.0-i686-unknown-netbsd.tar.gz) = 333849394de7d3332637975e8a88e8ba5a5a95833a6add3e07f058c04bec074f93b5028d7e86668b3d10606fb55ea4612b65ec6ca5481c17f0470a463ed3d2b3
Size (rust-std-1.20.0-i686-unknown-netbsd.tar.gz) = 78447975 bytes
SHA1 (rust-std-1.20.0-x86_64-apple-darwin.tar.gz) = 8aab05197ca6c935fb081d950231a10614f0d3ee
RMD160 (rust-std-1.20.0-x86_64-apple-darwin.tar.gz) = 2e4edcb36c5386510f6647417d48d7b6def4f3d9
SHA512 (rust-std-1.20.0-x86_64-apple-darwin.tar.gz) = 6f10e2eeadee262ac3b75b556c9a18b8b06214325e31bb8cdd654e1e1e29e84cb91f72d76f1a80e60a1794e416e87a4f2b4381ca39b7ae59a8377ef219f1b037
Size (rust-std-1.20.0-x86_64-apple-darwin.tar.gz) = 65338396 bytes
SHA1 (rust-std-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = fd1527c71408d3e5c90afbd78673fe3b080bf081
RMD160 (rust-std-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = 17ee407934bc6a9bb75907742691010443e4c0ea
SHA512 (rust-std-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = 44dddf709f798d63faae4ad49247a68b4a8781f61fdc92995c8765662f4e188feccdeedd6773806528dd2ef07d06e80e861e80c268205f3f97f523c9d1b4850c
Size (rust-std-1.20.0-x86_64-unknown-linux-gnu.tar.gz) = 84814907 bytes
SHA1 (rust-std-1.20.0-x86_64-unknown-netbsd.tar.gz) = 427301fdce5af932dddfb3e02c5aa6f709ad4d4d
RMD160 (rust-std-1.20.0-x86_64-unknown-netbsd.tar.gz) = 8eb555b5145624f27c9abd8921763c134a4605e4
SHA512 (rust-std-1.20.0-x86_64-unknown-netbsd.tar.gz) = 8912dfc83b9e9fb106ce1f98ad649ef7dc79b32b380fd88755c218f5dfc99c592d1a519d37aefc02ed03847363fe7383f5719a16c9fd3ab8d3f3d89e80ad7da3
Size (rust-std-1.20.0-x86_64-unknown-netbsd.tar.gz) = 69909635 bytes
SHA1 (rustc-1.21.0-src.tar.gz) = f835d72bc26ee6f25f6e5d6783b424fc9b904c9e
RMD160 (rustc-1.21.0-src.tar.gz) = dfb1ca914e2042f9f92f679bf743f575d25ece47
SHA512 (rustc-1.21.0-src.tar.gz) = 47f29a5c9c926c1b209516a8546c67a24c1c6ee15c6302c8c6d340047b3e1f713cc6d09e568b67ae4b47b08cbb0befd95fc0d7a72f2ce21a5224d4e5da03b4f5
Size (rustc-1.21.0-src.tar.gz) = 52555346 bytes
SHA1 (patch-src_bootstrap_bin_rustc.rs) = 617cc7ae52d92fdf80af0aff169c17a9cec4d67c
SHA1 (patch-src_llvm_cmake_modules_AddLLVM.cmake) = 282d97cce8d01cfefe565185d4999c2db9ccc13f
SHA1 (patch-src_llvm_lib_CodeGen_MachineDominanceFrontier.cpp) = 2899771b1a23be840b9305eff7e5e5f957239ccb

0 comments on commit 04adcf6

Please sign in to comment.