system
December 12, 2022, 9:02pm
1
The 1.66.0 pre-release is ready for testing. The release is scheduled for
December 15. Release notes can be found here.
You can try it out locally by running:
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable
The index is https://dev-static.rust-lang.org/dist/2022-12-12/index.html .
The release team is also thinking about changes to our pre-release process:
we'd love your feedback on this GitHub issue .
5 Likes
Small changes this time around. It's quite a contrast with the last release!
tronta
December 13, 2022, 4:43pm
3
There are some things not quite correct:
cuviper
December 13, 2022, 5:29pm
4
The link works if you change /stable/
to /beta/
, so that will go live after the actual release.
It seems as though rust-lld
with lto="fat"
is not working. I discovered the issue with riscv32imac-unknown-xous-elf
, and was able to replicate it with x86_64-fortanix-unknown-sgx
: rust-lld: lto="fat" no longer works
kpreid
December 15, 2022, 5:59pm
7
We aren't in the pre-release period any more, but this is arguably a “release documentation” problem more than a bug, so I thought I'd mention it here: the changelog for Clippy says that uninlined_format_args
is new and enabled by default, but it isn't enabled by default.
opened 05:57PM - 15 Dec 22 UTC
C-bug
I-false-negative
### Summary
[The changelog linked from Rust 1.66 release notes](https://githu… b.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-166) says that the lint `uninlined_format_args` was added in Rust 1.66. Following the link from there to [the lint list](https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args) says that the lint is in the `style` group and warn by default. However, this does not seem to be the case _in the stable release_; it does not warn unless set explicitly.
### Lint Name
uninlined_format_args
### Reproducer
I tried this code:
```rust
pub fn foo(x: &str) -> String {
format!("Foo {}", x)
}
```
I expected to see this happen: A `uninlined_format_args` warning.
Instead, this happened: No warnings, unless I add `#[warn(clippy::uninlined_format_args)]`.
Adding `#[warn(clippy::style)]` also has no effect even though the lint claims to be part of the `style` group.
### Version
```text
rustc 1.66.0 (69f9c33d7 2022-12-12)
binary: rustc
commit-hash: 69f9c33d71c871fc16ac445211281c6e7a340943
commit-date: 2022-12-12
host: x86_64-apple-darwin
release: 1.66.0
LLVM version: 15.0.2
```
Note: This does not reproduce in nightly, including via Rust Playground —— the lint triggers as expected — suggesting that the problem is that the change to make this lint part of the `style` group missed being included in the stable release even though the changelog claims it did.
system
Closed
March 15, 2023, 6:00pm
8
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.