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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Announcing Rust 1.88.0 #1651

wants to merge 10 commits into from

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


Starting in 1.88.0, Cargo will automatically run garbage collection on the cache in its home directory!

When building, Cargo downloads and caches crates needed as dependencies. Historically, these downloaded files would never be cleaned up, leading to an unbounded amount of disk usage in Cargo's home directory. In this version, Cargo introduces a garbage collection mechanism to automatically clean up old files (e.g. `.crate` files). Cargo will remove files downloaded from the network if not accessed in 3 months, and files obtained from the local system if not accessed in 1 month. Note that this automatic garbage collection will not take place if running offline (using `--offline` or `--frozen`).
Copy link
Member

Choose a reason for hiding this comment

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

hm. accessed by cargo or accessed by anyone or accessed by "that's a secret"?

Copy link
Contributor

Choose a reason for hiding this comment

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

Accessed by cargo. It does not use atime to check usage by other tools if that's what you are referring to.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think that's clarified by the next paragraph, but let me know if you have a suggestion.

@apiraino

This comment was marked as resolved.

@Kobzol

This comment was marked as resolved.

cuviper and others added 6 commits June 25, 2025 10:36
Co-authored-by: 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>
Co-authored-by: Jubilee <workingjubilee@gmail.com>
Co-authored-by: Trevor Gross <t.gross35@gmail.com>
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 and others added 3 commits June 26, 2025 08:57
Co-authored-by: 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>
@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

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.