Skip to content

Commit 0b0fd78

Browse files
authored
Update RELEASES.md
1 parent 69e56ad commit 0b0fd78

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

RELEASES.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ Version 1.51.0 (2021-03-25)
44
Language
55
--------
66
- [You can now parameterize items such as functions, traits, and `struct`s by constant
7-
values in addition to by types.][79135] E.g. you can now write the following. Note:
8-
Only values of primitive integers, `bool`, or `char` types are currently permitted.
7+
values in addition to by types and lifetimes.][79135] Also known as "const generics"
8+
E.g. you can now write the following. Note: Only values of primitive integers,
9+
`bool`, or `char` types are currently permitted.
910
```rust
1011
struct GenericArray<T, const LENGTH: usize> {
1112
inner: [T; LENGTH]
@@ -26,10 +27,11 @@ Language
2627
Compiler
2728
--------
2829

29-
- [Added the `-Csplit-debuginfo` codegen option.][79570] This option controls whether
30-
debug information is split across multiple files or packed into a single file.
31-
- [Added tier 3\* support for `aarch64_be-unknown-linux-gnu`, `aarch64-unknown-linux-gnu_ilp32`,
32-
and `aarch64_be-unknown-linux-gnu_ilp32` targets.][81455]
30+
- [Added the `-Csplit-debuginfo` codegen option for macOS platforms.][79570]
31+
This option controls whether debug information is split across multiple files
32+
or packed into a single file. **Note** This option is unstable on other platforms.
33+
- [Added tier 3\* support for `aarch64_be-unknown-linux-gnu`,
34+
`aarch64-unknown-linux-gnu_ilp32`, and `aarch64_be-unknown-linux-gnu_ilp32` targets.][81455]
3335
- [Added tier 3 support for `i386-unknown-linux-gnu` and `i486-unknown-linux-gnu` targets.][80662]
3436
- [The `target-cpu=native` option will now detect individual features of CPUs.][80749]
3537
- [Rust now uses `inline-asm` for stack probes when used with LLVM 11.0.1+][77885]
@@ -72,6 +74,21 @@ Stabilized APIs
7274
- [`sync::OnceState`]
7375
- [`task::Wake`]
7476

77+
Cargo
78+
-----
79+
- [Added the `split-debuginfo` profile option to control the -Csplit-debuginfo
80+
codegen option.][cargo/9112]
81+
- [Added the `resolver` field to `Cargo.toml` to enable the new feature resolver
82+
and CLI option behavior.][cargo/8997] Version 2 of the feature resolver will try
83+
to avoid unifying features of dependencies where that unification could be unwanted.
84+
Such as using the same dependency at build time (such as build scripts and
85+
proc-macros). See the [Cargo book documentation][feature-resolver@2.0]
86+
for more information on the feature.
87+
88+
[feature-resolver@2.0]: https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2
89+
[cargo/8997]: https://github.com/rust-lang/cargo/pull/8997
90+
[cargo/9112]: https://github.com/rust-lang/cargo/pull/9112
91+
7592
Rustdoc
7693
-------
7794

@@ -94,7 +111,7 @@ Compatibility Notes
94111
-------------------
95112

96113
- [Bumped the minimum `g++` for `linux-gnu` targets to `g++-8` from `g++-7`.][81521]
97-
- [WASI platforms no longer use the `wasm-bindgen` ABI.][79998]
114+
- [WASI platforms no longer use the `wasm-bindgen` ABI, and instead use the wasm32 ABI.][79998]
98115
- [`rustc` no longer promotes division, modulo and indexing operations to `const` that
99116
could fail.][80579]
100117

0 commit comments

Comments
 (0)