Accepting request 800013 from home:MSirringhaus:branches:devel:languages:rust

- Update to version 1.43.0

OBS-URL: https://build.opensuse.org/request/show/800013
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=248
This commit is contained in:
Neal Gompa 2020-05-04 10:17:14 +00:00 committed by Git OBS Bridge
parent 38d7bdb3c5
commit 0174a00ee9
20 changed files with 116 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:190a875658d007c8089c22fe544721e8f195eceeb66cd78e7799cdf02d7f36d0
size 96755608

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:201102dca7adab3b37658d75b2988b6fb9299749347da2bb4b55c7e7f9db8cae
size 103399676

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e986045e8e56ae865b383aefcdef23ca926b0e11ffa785b90da1436d846bbea8
size 120834812

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e3566465c24e4f743d3f8f1d15b0cb1d7387f2c4e4a78cfbf5f116ec7c97f33
size 98530136

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:188433303e90821158c333d369ea14747bb30ed324cdc4d42f48c6cc812aae9a
size 104058752

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10a327cc2f480e40c6d1f3b5bf4966725ab712b52a41637f13468962cfc40647
size 110594504

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c23621180d3973b97b7ff132522965f44d735d1be1b635ed53c8b65679713a4
size 114814112

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14cd9014cf0d14a303e56e58cf9f89135d607590cd6b2201b38f25a4aa98f21a
size 111202140

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b30833fd98b3d2a5886e93473e100c32a319d741a305eda67ea5fc24c85e5f9a
size 99903344

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90e2deb1597940250b2c6e6fc8bd7f4d8a8893f7f2a7f709917885247ae1c084
size 105021972

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a162c97398e5d42e47cd8c49b86ae8092a4f5d3bbc063895edf895c1c80de080
size 124258356

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4caf794df94f8613993bd4483ef67766b5d391c5b3a8644c2167a935a6455d1
size 100228400

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d28515a38f6aaf1924c7289e79b4b73f79a2a7c0a880556cddb67f129abee15c
size 106116524

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e11bf7fc341ea0ba63e9c450aef996159c649ff0060580a641e9468445798637
size 109926880

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06e317cf5b974da0e71f33f11d752f8092b2922112665e1ffdeadddd81c93270
size 116937084

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c94fba97589f1548bbd0652ff337169a7e47b4cb08accd9973722fe830c27ff
size 110826392

View File

@ -1,3 +1,89 @@
-------------------------------------------------------------------
Wed Apr 29 11:46:59 UTC 2020 - Martin Sirringhaus <martin.sirringhaus@suse.com>
- 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<Arc<[T]>>`,`TryFrom<Box<[T]>>`, and `TryFrom<Rc<[T]>>`
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<str>`.
- 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_<name>` pointing to a
binary's executable path when running integration tests or
benchmarks.
`<name>` 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 <schwab@suse.de>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa5b4c0f2bac33cc26a11523fce9b0f120d2eff510ed148ae7c586501481ed04
size 94186592

3
rustc-1.43.0-src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0899933840369f07394b211cb0b53a5cd4634907633f0bee541133c8b75e309
size 94354332