release notes
release notes
Published 5/6/2021
MinorContains breaking changesunsafe_op_in_unsafe_fn lint, which checks whether the unsafe code in an unsafe fn is wrapped in a unsafe block. This lint is allowed by default, and may become a warning or hard error in a future edition.Added tier 3* support for the following targets.
s390x-unknown-linux-muslriscv32gc-unknown-linux-musl & riscv64gc-unknown-linux-muslpowerpc-unknown-openbsd* Refer to Rust's platform support page for more information on Rust's tiered platform support.
OsString now implements Extend and FromIterator.cmp::Reverse now has #[repr(transparent)] representation.Arc<impl Error> now implements error::Error.const.Arguments::as_strchar::MAXchar::REPLACEMENT_CHARACTERchar::UNICODE_VERSIONchar::decode_utf16char::from_digitchar::from_u32_uncheckedchar::from_u32slice::partition_pointstr::rsplit_oncestr::split_onceThe following previously stable APIs are now const.
char::len_utf8char::len_utf16char::to_ascii_uppercasechar::to_ascii_lowercasechar::eq_ignore_ascii_caseu8::to_ascii_uppercaseu8::to_ascii_lowercaseu8::eq_ignore_ascii_caserustdoc:: (e.g. #[warn(rustdoc::broken_intra_doc_links)]). Using the old style is still allowed, and will become a warning in a future release.- [x] Complete
- [ ] Todo
cargo test -- foo bar will run all tests that match foo and bar.std library on Windows, allowing you to see std symbols when debugging.These changes provide no direct user facing benefits, but represent significant improvements to the internals and overall performance of rustc and related tools.
RUSTC_BOOTSTRAP.x86_64-rumprun-netbsd target.x86_64-sun-solaris target in favor of x86_64-pc-solaris.,, , and \t as delimiters for specifying languages in code blocks.pub_use_of_private_extern_crateproc-macro-hack versions. A cargo update should be sufficient to fix this in all cases.#[derive] into a regular macro attributerelease notes
Published 5/6/2021
MinorContains breaking changesunsafe_op_in_unsafe_fn lint, which checks whether the unsafe code in an unsafe fn is wrapped in a unsafe block. This lint is allowed by default, and may become a warning or hard error in a future edition.Added tier 3* support for the following targets.
s390x-unknown-linux-muslriscv32gc-unknown-linux-musl & riscv64gc-unknown-linux-muslpowerpc-unknown-openbsd* Refer to Rust's platform support page for more information on Rust's tiered platform support.
OsString now implements Extend and FromIterator.cmp::Reverse now has #[repr(transparent)] representation.Arc<impl Error> now implements error::Error.const.Arguments::as_strchar::MAXchar::REPLACEMENT_CHARACTERchar::UNICODE_VERSIONchar::decode_utf16char::from_digitchar::from_u32_uncheckedchar::from_u32slice::partition_pointstr::rsplit_oncestr::split_onceThe following previously stable APIs are now const.
char::len_utf8char::len_utf16char::to_ascii_uppercasechar::to_ascii_lowercasechar::eq_ignore_ascii_caseu8::to_ascii_uppercaseu8::to_ascii_lowercaseu8::eq_ignore_ascii_caserustdoc:: (e.g. #[warn(rustdoc::broken_intra_doc_links)]). Using the old style is still allowed, and will become a warning in a future release.- [x] Complete
- [ ] Todo
cargo test -- foo bar will run all tests that match foo and bar.std library on Windows, allowing you to see std symbols when debugging.These changes provide no direct user facing benefits, but represent significant improvements to the internals and overall performance of rustc and related tools.
RUSTC_BOOTSTRAP.x86_64-rumprun-netbsd target.x86_64-sun-solaris target in favor of x86_64-pc-solaris.,, , and \t as delimiters for specifying languages in code blocks.pub_use_of_private_extern_crateproc-macro-hack versions. A cargo update should be sufficient to fix this in all cases.#[derive] into a regular macro attributeEmpowering everyone to build reliable and efficient software.