Skip to content

Announcing Rust 1.88.0 #1651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 26, 2025
Merged

Announcing Rust 1.88.0 #1651

merged 10 commits into from
Jun 26, 2025

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jun 25, 2025

  • Let chains
  • Naked functions
  • Boolean configuration
  • Cargo automatic cache cleaning
  • Stabilized APIs

cc @rust-lang/release
@rustbot ping relnotes-interest-group

Rendered

@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2025

Hi relnotes-interest-group, this PR adds a release blog post. Could you review
the blog post if you have time? Thanks <3

cc @alex-semenyuk @jieyouxu @joshtriplett @Kobzol @lcnr @traviscross

@apiraino

This comment was marked as resolved.

@Kobzol

This comment was marked as resolved.

workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Jun 26, 2025
Expand const-stabilized API links in relnotes

Noticed while looking at the relnotes blog post rust-lang/blog.rust-lang.org#1651 (comment).

r? `@cuviper`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 26, 2025
Expand const-stabilized API links in relnotes

Noticed while looking at the relnotes blog post rust-lang/blog.rust-lang.org#1651 (comment).

r? ``@cuviper``
compiler-errors added a commit to compiler-errors/rust that referenced this pull request Jun 26, 2025
Expand const-stabilized API links in relnotes

Noticed while looking at the relnotes blog post rust-lang/blog.rust-lang.org#1651 (comment).

r? ```@cuviper```
@cuviper cuviper marked this pull request as ready for review June 26, 2025 16:02
Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@cuviper
Copy link
Member Author

cuviper commented Jun 26, 2025

Deployment is done! 🚀

@cuviper cuviper enabled auto-merge June 26, 2025 18:11
@cuviper cuviper merged commit 1e32a80 into rust-lang:master Jun 26, 2025
5 checks passed

```rust
#[unsafe(naked)]
pub unsafe extern "sysv64" fn wrapping_add(a: u64, b: u64) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have a return type?

pub unsafe extern "sysv64" fn wrapping_add(a: u64, b: u64) -> u64 {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should (technically it's okay as it is, but it is confusing and unintentional)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please feel free to send a PR correction!

pub unsafe extern "sysv64" fn wrapping_add(a: u64, b: u64) {
// Equivalent to `a.wrapping_add(b)`.
core::arch::naked_asm!(
"add rax, rdi, rsi",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seem valid in x86-64 which only has 2-operand add. Or does it mean something like:

Suggested change
"add rax, rdi, rsi",
"lea rax, [rdi + rsi]",

(not checked)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I've been led astray by godbolt, which will assembly the 3-operand add, but fail to execute it. I tried to not use lea just because add is more clear, but now to use the 2-operand add you'd have to mov. Also there is just a rdi + rsi in there so it's probably sufficiently clear.

fix at #1654

compiler-errors added a commit to compiler-errors/rust that referenced this pull request Jun 27, 2025
Expand const-stabilized API links in relnotes

Noticed while looking at the relnotes blog post rust-lang/blog.rust-lang.org#1651 (comment).

r? ````@cuviper````
rust-timer added a commit to rust-lang/rust that referenced this pull request Jun 27, 2025
Rollup merge of #143033 - jieyouxu:expand-apis, r=cuviper

Expand const-stabilized API links in relnotes

Noticed while looking at the relnotes blog post rust-lang/blog.rust-lang.org#1651 (comment).

r? ````@cuviper````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.