Skip to content

chore: bump to 0.102.0; update changelog - #17525

Merged
weihanglo merged 5 commits into
rust-lang:masterfrom
weihanglo:version-bump
Sep 28, 2026
Merged

weihanglo merged 5 commits into
rust-lang:masterfrom
weihanglo:version-bump

Conversation

@weihanglo

Copy link
Copy Markdown
Member

rendered

or preview through mdbook serve doc/book


🤖 LLM disclosure: For fixing grammar only. This was first generated by https://github.com/rust-lang/cargo-team/blob/main/tools/cargo-new-release.rs and then curated by hands.

@rustbot rustbot added A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 27, 2026
@rustbot

rustbot commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

r? @epage

rustbot has assigned @epage.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @Muscraft, @epage, @weihanglo
  • @Muscraft, @epage, @weihanglo expanded to Muscraft, epage, weihanglo
  • Random selection from Muscraft, epage

Comment thread doc/book/src/CHANGELOG.md
Comment on lines +8 to +11
- 🎉 Two new configs are added: `build.profile` and `install.profile`.
These override the default profile Cargo compiles with.
[docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#buildprofile)
[#17215](https://github.com/rust-lang/cargo/pull/17215)

@weihanglo weihanglo Sep 27, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This might need to be rewritten when #17518 lands.

View changes since the review

Comment thread doc/book/src/CHANGELOG.md Outdated
[#17362](https://github.com/rust-lang/cargo/pull/17362)
- cargo-clean: now accounts for hardlinks when calculating clean file size.
[#17485](https://github.com/rust-lang/cargo/pull/17485)
- cargo-run: error messages for a failing program is no longer overwritten

@epage epage Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we note that this is only for Windows (all others fork-exec so we don't write anything after the program is done)

View changes since the review

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Nice catch. Updated. Thanks!

@epage epage left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Feel free to merge when you feel it is ready

View changes since this review

@weihanglo
weihanglo enabled auto-merge September 28, 2026 13:18
@weihanglo
weihanglo added this pull request to the merge queue Sep 28, 2026
Merged via the queue into rust-lang:master with commit 04d22db Sep 28, 2026
31 checks passed
@weihanglo
weihanglo deleted the version-bump branch September 28, 2026 14:22
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 28, 2026
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Sep 30, 2026
Update cargo submodule

8 commits in 3d7cf6e937d6127d0f49881bf689c560b36d35c4..f3865b2a4d1acc5276f6b3c67d0e057f4dab3928
2026-09-25 01:47:29 +0000 to 2026-09-29 19:58:08 +0000
- fix(config): Proper dotted tuple support with legacy fallback (rust-lang/cargo#17536)
- refactor: Rename internal content from target-triple to target-tuple (rust-lang/cargo#17535)
- docs(changelog): remove duplicate items (rust-lang/cargo#17528)
- chore: bump to 0.102.0; update changelog (rust-lang/cargo#17525)
- feat(metadata): mirror package features in features_v2 (rust-lang/cargo#17517)
- feat(config): Add build.profile, install.profile (rust-lang/cargo#17215)
- feat(builtin-deps): Add `SourceKind::Builtin` (rust-lang/cargo#17513)
- fix(compilation): Preventing OUT_DIR env var from leaking into cargo run after build.rs run (rust-lang/cargo#17503)

r? ghost
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Sep 30, 2026
Update cargo submodule

8 commits in 3d7cf6e937d6127d0f49881bf689c560b36d35c4..f3865b2a4d1acc5276f6b3c67d0e057f4dab3928
2026-09-25 01:47:29 +0000 to 2026-09-29 19:58:08 +0000
- fix(config): Proper dotted tuple support with legacy fallback (rust-lang/cargo#17536)
- refactor: Rename internal content from target-triple to target-tuple (rust-lang/cargo#17535)
- docs(changelog): remove duplicate items (rust-lang/cargo#17528)
- chore: bump to 0.102.0; update changelog (rust-lang/cargo#17525)
- feat(metadata): mirror package features in features_v2 (rust-lang/cargo#17517)
- feat(config): Add build.profile, install.profile (rust-lang/cargo#17215)
- feat(builtin-deps): Add `SourceKind::Builtin` (rust-lang/cargo#17513)
- fix(compilation): Preventing OUT_DIR env var from leaking into cargo run after build.rs run (rust-lang/cargo#17503)

r? ghost
@rustbot rustbot added this to the 1.101.0 milestone Sep 30, 2026
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Oct 1, 2026
Update cargo submodule

8 commits in 3d7cf6e937d6127d0f49881bf689c560b36d35c4..f3865b2a4d1acc5276f6b3c67d0e057f4dab3928
2026-09-25 01:47:29 +0000 to 2026-09-29 19:58:08 +0000
- fix(config): Proper dotted tuple support with legacy fallback (rust-lang/cargo#17536)
- refactor: Rename internal content from target-triple to target-tuple (rust-lang/cargo#17535)
- docs(changelog): remove duplicate items (rust-lang/cargo#17528)
- chore: bump to 0.102.0; update changelog (rust-lang/cargo#17525)
- feat(metadata): mirror package features in features_v2 (rust-lang/cargo#17517)
- feat(config): Add build.profile, install.profile (rust-lang/cargo#17215)
- feat(builtin-deps): Add `SourceKind::Builtin` (rust-lang/cargo#17513)
- fix(compilation): Preventing OUT_DIR env var from leaking into cargo run after build.rs run (rust-lang/cargo#17503)

r? ghost
AsherBond pushed a commit to AsherBond/cargo that referenced this pull request Oct 6, 2026
…ang#17539)

*[View all
comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/cargo/pull/17539)*

### What does this PR try to resolve?

As part of rust-lang#16960, this is a
requested follow up to rust-lang#17513
which implements the parsing and formatting of package id specs for
builtin packages.

The format [mentioned in the
RFC](https://rust-lang.github.io/rfcs/3875-build-std-explicit-dependencies.html#proposal:~:text=builtin%3A%2F%2F%2E%23core)
(arrived at after discussion with the Cargo team) is `builtin://.#core`,
but note that there is an unresolved question regarding the exact format
and it can be changed before stabilisation.

I took a fairly conservative approach here, rejecting forms that we know
are never going to match (such as a hostname that isn't `.`, paths after
the hostname and version specifiers that don't match `0.0.0`, in order
to print error messages specific to builtin packages.

Something we could do is infer the kind even when it's not present when
the scheme is `builtin`. I'm not sure how useful that is at this point.

This PR requires a version bump for cargo-util-schemas (since we break
the parsing of URLs with `builtin` as a scheme), but this was [already
done](rust-lang#17525) this release
cycle.

### How to test and review this PR?

Commit by commit - all commits pass tests for cargo-util-schemas and
pass `cargo fmt --check`.

🤖 LLM disclosure: I used Codex to help me understand the codebase and
asked it to review my branch before sharing it upstream. I also used it
to help resolve merge conflicts. All code was originally written by
hand.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-documenting-cargo-itself Area: Cargo's documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants