Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b0897ff

Browse files
committed
Update RELEASES.md for 1.54.0
1 parent 17ea490 commit b0897ff

File tree

1 file changed

+128
-1
lines changed

1 file changed

+128
-1
lines changed

RELEASES.md

Lines changed: 128 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,130 @@
1+
Version 1.54.0 (2021-06-29)
2+
============================
3+
4+
Language
5+
-----------------------
6+
7+
- [You can now use macros for values in key-value attributes.][83366]
8+
While a seemingly minor addition on its own, this enables a lot of
9+
powerful functionality when combined correctly. Most notably you can
10+
now include external documentation in your crate by writing the following.
11+
```rust
12+
#![doc = include_str!("README.md")]
13+
```
14+
15+
- [You can now cast between unsized slice types (and types which contain
16+
unsized slices) in `const fn`.][85078]
17+
- [TODO: stabilize member constraints][84701]
18+
19+
Compiler
20+
-----------------------
21+
22+
- [Rustc will now search for custom JSON targets in
23+
`/lib/rustlib/<target-triple>/target.json` where `/` is the "sysroot"
24+
directory.][83800] You can find your sysroot directory by running
25+
`rustc --print sysroot`.
26+
- [Added `wasm` as a `target_family` for WebAssembly platforms.][84072]
27+
- [You can now use `#[target_feature]` on safe functions when targeting
28+
WebAssembly platforms.][84988]
29+
- [Improved debugger output for enums on Windows MSVC platorms.][85292]
30+
- [Added tier 3\* support for `bpfel-unknown-none`
31+
and `bpfeb-unknown-none`.][79608]
32+
- [Added tier 3 support for `powerpc64le-unknown-freebsd`.][83572]
33+
34+
Libraries
35+
-----------------------
36+
37+
- [You can now explicitly import the prelude of different editions
38+
through `std::prelude`. (e.g. `use std::prelude::rust_2021::*;`)][86294]
39+
- [`panic::panic_any` will now `#[track_caller]`.][85745]
40+
- [Added `OutOfMemory` as a variant of `io::ErrorKind`.][84744]
41+
- [ `proc_macro::Literal` now implements `FromStr`.][84717]
42+
- [TODO: Bump stdarch submodule][83278]
43+
44+
Stabilized APIs
45+
---------------
46+
47+
- [`BTreeMap::into_keys`]
48+
- [`BTreeMap::into_values`]
49+
- [`HashMap::into_keys`]
50+
- [`HashMap::into_values`]
51+
- [`MaybeUninit::assume_init_mut`]
52+
- [`MaybeUninit::assume_init_ref`]
53+
- [`arch::wasm32`]
54+
- [`arch::x86::_bittest`]
55+
- [`arch::x86::_bittestandcomplement`]
56+
- [`arch::x86::_bittestandset`]
57+
- [`arch::x86_64::_bittest`]
58+
- [`arch::x86_64::_bittestandcomplement64`]
59+
- [`arch::x86_64::_bittestandcomplement`]
60+
- [`arch::x86_64::_bittestandreset64`]
61+
- [`arch::x86_64::_bittestandset64`]
62+
- [`arch::x86_64::_bittestandset`]
63+
- [`ops::ControlFlow`]
64+
- [`VecDeque::binary_search`]
65+
- [`VecDeque::binary_search_by`]
66+
- [`VecDeque::binary_search_by_key`]
67+
- [`VecDeque::partition_point`]
68+
69+
Cargo
70+
-----------------------
71+
72+
- [Added the `--prune <spec>` option to `cargo-tree` to remove a package from
73+
the dependency graph.][cargo/9520]
74+
- [Added the `--depth` option to `cargo-tree` to print only to a certain depth
75+
in the tree ][cargo/9499]
76+
- [Added the `no-proc-macro` value to `cargo-tree --edges` to hide procedural
77+
macro dependencies.][cargo/9488]
78+
- [A new environment variable named `CARGO_TARGET_TMPDIR` is available.][cargo/9375]
79+
This variable points to a directory that integration tests and benches
80+
can use as a "scratchpad" for testing filesystem operations.
81+
- [Configure hosts separately from targets when --target is specified.][cargo/9322]
82+
- [Respect Cargo.toml `[package.exclude]` even not in a git repo.][cargo/9186]
83+
84+
[79608]: https://github.com/rust-lang/rust/pull/79608
85+
[84988]: https://github.com/rust-lang/rust/pull/84988
86+
[84701]: https://github.com/rust-lang/rust/pull/84701
87+
[84072]: https://github.com/rust-lang/rust/pull/84072
88+
[86294]: https://github.com/rust-lang/rust/pull/86294
89+
[85745]: https://github.com/rust-lang/rust/pull/85745
90+
[84744]: https://github.com/rust-lang/rust/pull/84744
91+
[85078]: https://github.com/rust-lang/rust/pull/85078
92+
[84717]: https://github.com/rust-lang/rust/pull/84717
93+
[83800]: https://github.com/rust-lang/rust/pull/83800
94+
[83366]: https://github.com/rust-lang/rust/pull/83366
95+
[83278]: https://github.com/rust-lang/rust/pull/83278
96+
[85292]: https://github.com/rust-lang/rust/pull/85292
97+
[83572]: https://github.com/rust-lang/rust/pull/83572
98+
[cargo/9520]: https://github.com/rust-lang/cargo/pull/9520
99+
[cargo/9499]: https://github.com/rust-lang/cargo/pull/9499
100+
[cargo/9488]: https://github.com/rust-lang/cargo/pull/9488
101+
[cargo/9375]: https://github.com/rust-lang/cargo/pull/9375
102+
[cargo/9322]: https://github.com/rust-lang/cargo/pull/9322
103+
[cargo/9186]: https://github.com/rust-lang/cargo/pull/9186
104+
[`arch::x86::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittest.html
105+
[`arch::x86::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandcomplement.html
106+
[`arch::x86::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandset.html
107+
[`arch::x86_64::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittest.html
108+
[`arch::x86_64::_bittestandcomplement64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandcomplement64.html
109+
[`arch::x86_64::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandcomplement.html
110+
[`arch::x86_64::_bittestandreset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandreset64.html
111+
[`arch::x86_64::_bittestandset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandset64.html
112+
[`arch::x86_64::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandset.html
113+
[`BTreeMap::into_keys`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.into_keys
114+
[`BTreeMap::into_values`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.into_values
115+
[`HashMap::into_keys`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.into_keys
116+
[`HashMap::into_values`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.into_values
117+
[`MaybeUninit::assume_init_ref`]: https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.assume_init_ref
118+
[`MaybeUninit::assume_init_mut`]: https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.assume_init_mut
119+
[`arch::wasm32`]: https://doc.rust-lang.org/core/arch/wasm32/index.html
120+
[`ops::ControlFlow`]: https://doc.rust-lang.org/std/ops/enum.ControlFlow.html
121+
[`VecDeque::binary_search`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search
122+
[`VecDeque::binary_search_by`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search_by
123+
124+
[`VecDeque::binary_search_by_key`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search_by_key
125+
126+
[`VecDeque::partition_point`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.partition_point
127+
1128
Version 1.53.0 (2021-06-17)
2129
============================
3130

@@ -1749,7 +1876,7 @@ Language
17491876
- [You can now use `#[repr(transparent)]` on univariant `enum`s.][68122] Meaning
17501877
that you can create an enum that has the exact layout and ABI of the type
17511878
it contains.
1752-
- [You can now use outer attribute procedural macros on inline modules.][64273]
1879+
- [You can now use outer attribute procedural macros on inline modules.][64273]
17531880
- [There are some *syntax-only* changes:][67131]
17541881
- `default` is syntactically allowed before items in `trait` definitions.
17551882
- Items in `impl`s (i.e. `const`s, `type`s, and `fn`s) may syntactically

0 commit comments

Comments
 (0)