Accepting request 841108 from home:firstyear:branches:devel:languages:rust
- Update to version 1.47.0 + Language - [Closures will now warn when not used.][74869] + Compiler - [Stabilized the `-C control-flow-guard` codegen option][73893], which enables [Control Flow Guard][1.47.0-cfg] for Windows platforms, and is ignored on other platforms. - [Upgraded to LLVM 11.][73526] - [Added tier 3\* support for the `thumbv4t-none-eabi` target.][74419] - [Upgrade the FreeBSD toolchain to version 11.4][75204] - [`RUST_BACKTRACE`'s output is now more compact.][75048] \* Refer to Rust's [platform support page][forge-platform-support] for more information on Rust's tiered platform support. + Libraries - [`CStr` now implements `Index<RangeFrom<usize>>`.][74021] - [Traits in `std`/`core` are now implemented for arrays of any length, not just those of length less than 33.][74060] - [`ops::RangeFull` and `ops::Range` now implement Default.][73197] - [`panic::Location` now implements `Copy`, `Clone`, `Eq`, `Hash`, `Ord`, `PartialEq`, and `PartialOrd`.][73583] + Stabilized APIs - [`Ident::new_raw`] - [`Range::is_empty`] - [`RangeInclusive::is_empty`] - [`Result::as_deref`] - [`Result::as_deref_mut`] - [`Vec::leak`] - [`pointer::offset_from`] - [`f32::TAU`] - [`f64::TAU`] OBS-URL: https://build.opensuse.org/request/show/841108 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=267
This commit is contained in:
65
rust.changes
65
rust.changes
@@ -1,3 +1,68 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 11 22:43:36 UTC 2020 - William Brown <william.brown@suse.com>
|
||||
|
||||
- Update to version 1.47.0
|
||||
+ Language
|
||||
- [Closures will now warn when not used.][74869]
|
||||
+ Compiler
|
||||
- [Stabilized the `-C control-flow-guard` codegen option][73893], which enables
|
||||
[Control Flow Guard][1.47.0-cfg] for Windows platforms, and is ignored on other
|
||||
platforms.
|
||||
- [Upgraded to LLVM 11.][73526]
|
||||
- [Added tier 3\* support for the `thumbv4t-none-eabi` target.][74419]
|
||||
- [Upgrade the FreeBSD toolchain to version 11.4][75204]
|
||||
- [`RUST_BACKTRACE`'s output is now more compact.][75048]
|
||||
\* Refer to Rust's [platform support page][forge-platform-support] for more
|
||||
information on Rust's tiered platform support.
|
||||
+ Libraries
|
||||
- [`CStr` now implements `Index<RangeFrom<usize>>`.][74021]
|
||||
- [Traits in `std`/`core` are now implemented for arrays of any length, not just
|
||||
those of length less than 33.][74060]
|
||||
- [`ops::RangeFull` and `ops::Range` now implement Default.][73197]
|
||||
- [`panic::Location` now implements `Copy`, `Clone`, `Eq`, `Hash`, `Ord`,
|
||||
`PartialEq`, and `PartialOrd`.][73583]
|
||||
+ Stabilized APIs
|
||||
- [`Ident::new_raw`]
|
||||
- [`Range::is_empty`]
|
||||
- [`RangeInclusive::is_empty`]
|
||||
- [`Result::as_deref`]
|
||||
- [`Result::as_deref_mut`]
|
||||
- [`Vec::leak`]
|
||||
- [`pointer::offset_from`]
|
||||
- [`f32::TAU`]
|
||||
- [`f64::TAU`]
|
||||
The following previously stable APIs have now been made const.
|
||||
- [The `new` method for all `NonZero` integers.][73858]
|
||||
- [The `checked_add`,`checked_sub`,`checked_mul`,`checked_neg`, `checked_shl`,
|
||||
`checked_shr`, `saturating_add`, `saturating_sub`, and `saturating_mul`
|
||||
methods for all integers.][73858]
|
||||
- [The `checked_abs`, `saturating_abs`, `saturating_neg`, and `signum` for all
|
||||
signed integers.][73858]
|
||||
- [The `is_ascii_alphabetic`, `is_ascii_uppercase`, `is_ascii_lowercase`,
|
||||
`is_ascii_alphanumeric`, `is_ascii_digit`, `is_ascii_hexdigit`,
|
||||
`is_ascii_punctuation`, `is_ascii_graphic`, `is_ascii_whitespace`, and
|
||||
`is_ascii_control` methods for `char` and `u8`.][73858]
|
||||
+ Cargo
|
||||
- [`build-dependencies` are now built with opt-level 0 by default.][cargo/8500]
|
||||
You can override this by setting the following in your `Cargo.toml`.
|
||||
```toml
|
||||
[profile.release.build-override]
|
||||
opt-level = 3
|
||||
```
|
||||
- [`cargo-help` will now display man pages for commands rather just the
|
||||
`--help` text.][cargo/8456]
|
||||
- [`cargo-metadata` now emits a `test` field indicating if a target has
|
||||
tests enabled.][cargo/8478]
|
||||
- [`workspace.default-members` now respects `workspace.exclude`.][cargo/8485]
|
||||
- [`cargo-publish` will now use an alternative registry by default if it's the
|
||||
only registry specified in `package.publish`.][cargo/8571]
|
||||
+ Misc
|
||||
- [Added a help button beside Rustdoc's searchbar that explains rustdoc's
|
||||
type based search.][75366]
|
||||
- [Added the Ayu theme to rustdoc.][71237]
|
||||
- Rebased patches:
|
||||
+ ignore-Wstring-conversion.patch (offset / fuzz)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 10 00:26:02 UTC 2020 - William Brown <william.brown@suse.com>
|
||||
|
||||
|
Reference in New Issue
Block a user