diff --git a/rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz b/rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz deleted file mode 100644 index 4dea11b..0000000 --- a/rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:190a875658d007c8089c22fe544721e8f195eceeb66cd78e7799cdf02d7f36d0 -size 96755608 diff --git a/rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz deleted file mode 100644 index 276589a..0000000 --- a/rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:201102dca7adab3b37658d75b2988b6fb9299749347da2bb4b55c7e7f9db8cae -size 103399676 diff --git a/rust-1.41.1-i686-unknown-linux-gnu.tar.xz b/rust-1.41.1-i686-unknown-linux-gnu.tar.xz deleted file mode 100644 index 3e5a8be..0000000 --- a/rust-1.41.1-i686-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e986045e8e56ae865b383aefcdef23ca926b0e11ffa785b90da1436d846bbea8 -size 120834812 diff --git a/rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz b/rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz deleted file mode 100644 index 93eb235..0000000 --- a/rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e3566465c24e4f743d3f8f1d15b0cb1d7387f2c4e4a78cfbf5f116ec7c97f33 -size 98530136 diff --git a/rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz deleted file mode 100644 index 66470cb..0000000 --- a/rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:188433303e90821158c333d369ea14747bb30ed324cdc4d42f48c6cc812aae9a -size 104058752 diff --git a/rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz deleted file mode 100644 index d66c7a4..0000000 --- a/rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10a327cc2f480e40c6d1f3b5bf4966725ab712b52a41637f13468962cfc40647 -size 110594504 diff --git a/rust-1.41.1-s390x-unknown-linux-gnu.tar.xz b/rust-1.41.1-s390x-unknown-linux-gnu.tar.xz deleted file mode 100644 index 21248ca..0000000 --- a/rust-1.41.1-s390x-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c23621180d3973b97b7ff132522965f44d735d1be1b635ed53c8b65679713a4 -size 114814112 diff --git a/rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz b/rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz deleted file mode 100644 index fa3bd5c..0000000 --- a/rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:14cd9014cf0d14a303e56e58cf9f89135d607590cd6b2201b38f25a4aa98f21a -size 111202140 diff --git a/rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz b/rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..f1b51c8 --- /dev/null +++ b/rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b30833fd98b3d2a5886e93473e100c32a319d741a305eda67ea5fc24c85e5f9a +size 99903344 diff --git a/rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz new file mode 100644 index 0000000..e2eb2b9 --- /dev/null +++ b/rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90e2deb1597940250b2c6e6fc8bd7f4d8a8893f7f2a7f709917885247ae1c084 +size 105021972 diff --git a/rust-1.42.0-i686-unknown-linux-gnu.tar.xz b/rust-1.42.0-i686-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..95da7b0 --- /dev/null +++ b/rust-1.42.0-i686-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a162c97398e5d42e47cd8c49b86ae8092a4f5d3bbc063895edf895c1c80de080 +size 124258356 diff --git a/rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz b/rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..ef01e63 --- /dev/null +++ b/rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4caf794df94f8613993bd4483ef67766b5d391c5b3a8644c2167a935a6455d1 +size 100228400 diff --git a/rust-1.42.0-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.42.0-powerpc64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..cf2e8a5 --- /dev/null +++ b/rust-1.42.0-powerpc64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d28515a38f6aaf1924c7289e79b4b73f79a2a7c0a880556cddb67f129abee15c +size 106116524 diff --git a/rust-1.42.0-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.42.0-powerpc64le-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..4c6d13a --- /dev/null +++ b/rust-1.42.0-powerpc64le-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e11bf7fc341ea0ba63e9c450aef996159c649ff0060580a641e9468445798637 +size 109926880 diff --git a/rust-1.42.0-s390x-unknown-linux-gnu.tar.xz b/rust-1.42.0-s390x-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..603db63 --- /dev/null +++ b/rust-1.42.0-s390x-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06e317cf5b974da0e71f33f11d752f8092b2922112665e1ffdeadddd81c93270 +size 116937084 diff --git a/rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz b/rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..a4fc99c --- /dev/null +++ b/rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c94fba97589f1548bbd0652ff337169a7e47b4cb08accd9973722fe830c27ff +size 110826392 diff --git a/rust.changes b/rust.changes index e4a02c7..faf0c1a 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,89 @@ +------------------------------------------------------------------- +Wed Apr 29 11:46:59 UTC 2020 - Martin Sirringhaus + +- Update to version 1.43.0 + + Language + - Fixed using binary operations with `&{number}` (e.g. `&1.0`) + not having the type inferred correctly. + - Attributes such as `#[cfg()]` can now be used on `if` + expressions. + - Syntax only changes: + * Allow `type Foo: Ord` syntactically. + * Fuse associated and extern items up to defaultness. + * Syntactically allow `self` in all `fn` contexts. + * Merge `fn` syntax + cleanup item parsing. + * `item` macro fragments can be interpolated into `trait`s, + `impl`s, and `extern` blocks. + For example, you may now write: + ```rust + macro_rules! mac_trait { + ($i:item) => { + trait T { $i } + } + } + mac_trait! { + fn foo() {} + } + ``` + * These are still rejected *semantically*, so you will likely + receive an error but these changes can be seen and parsed by + macros and conditional compilation. + + Compiler + - You can now pass multiple lint flags to rustc to override the + previous flags. + For example; `rustc -D unused -A unused-variables` denies + everything in the `unused` lint group except `unused-variables` + which is explicitly allowed. However, passing + `rustc -A unused-variables -D unused` denies everything in + the `unused` lint group **including** `unused-variables` since + the allow flag is specified before the deny flag (and therefore + overridden). + - rustc will now prefer your system MinGW libraries over its + bundled libraries if they are available on `windows-gnu`. + - rustc now buffers errors/warnings printed in JSON. + + Libraries + - `Arc<[T; N]>`, `Box<[T; N]>`, and `Rc<[T; N]>`, now implement + `TryFrom>`,`TryFrom>`, and `TryFrom>` + respectively. + **Note** These conversions are only available when `N` is + `0..=32`. + - You can now use associated constants on floats and integers + directly, rather than having to import the module. + e.g. You can now write `u32::MAX` or `f32::NAN` with no imports. + - `u8::is_ascii` is now `const`. + - `String` now implements `AsMut`. + - Added the `primitive` module to `std` and `core`. + This module reexports Rust's primitive types. This is mainly + useful in macros where you want avoid these types being shadowed. + - Relaxed some of the trait bounds on `HashMap` and `HashSet`. + - `string::FromUtf8Error` now implements `Clone + Eq`. + + Stabilized APIs + - `Once::is_completed` + - `f32::LOG10_2` + - `f32::LOG2_10` + - `f64::LOG10_2` + - `f64::LOG2_10` + - `iter::once_with` + + Cargo + - You can now set config `[profile]`s in your `.cargo/config`, + or through your environment. + - Cargo will now set `CARGO_BIN_EXE_` pointing to a + binary's executable path when running integration tests or + benchmarks. + `` is the name of your binary as-is e.g. If you wanted + the executable path for a binary named `my-program`you would + use `env!("CARGO_BIN_EXE_my-program")`. + + Misc + - Certain checks in the `const_err` lint were deemed unrelated + to const evaluation, and have been moved to the + `unconditional_panic` and `arithmetic_overflow` lints. + + Compatibility Notes + - Having trailing syntax in the `assert!` macro is now a hard + error. This has been a warning since 1.36.0. + - Fixed `Self` not having the correctly inferred type. This + incorrectly led to some instances being accepted, and now + correctly emits a hard error. + ------------------------------------------------------------------- Tue Apr 7 08:54:37 UTC 2020 - Andreas Schwab diff --git a/rust.spec b/rust.spec index 3e2f2d6..b2f68e2 100644 --- a/rust.spec +++ b/rust.spec @@ -17,9 +17,9 @@ # -%global version_current 1.42.0 -%global version_previous 1.41.1 -%global version_bootstrap 1.41.1 +%global version_current 1.43.0 +%global version_previous 1.42.0 +%global version_bootstrap 1.42.0 # some sub-packages are versioned independently %global rustfmt_version 1.4.11 diff --git a/rustc-1.42.0-src.tar.xz b/rustc-1.42.0-src.tar.xz deleted file mode 100644 index 2e0b332..0000000 --- a/rustc-1.42.0-src.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa5b4c0f2bac33cc26a11523fce9b0f120d2eff510ed148ae7c586501481ed04 -size 94186592 diff --git a/rustc-1.43.0-src.tar.xz b/rustc-1.43.0-src.tar.xz new file mode 100644 index 0000000..dce41f5 --- /dev/null +++ b/rustc-1.43.0-src.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0899933840369f07394b211cb0b53a5cd4634907633f0bee541133c8b75e309 +size 94354332