Skip to content

Add post about using -Zembed-metadata=no by default on nightly - #1910

Merged
Kobzol merged 5 commits into
rust-lang:mainfrom
Kobzol:cargo-embed-metadata-call-for-testing
Aug 18, 2026
Merged

Kobzol merged 5 commits into
rust-lang:mainfrom
Kobzol:cargo-embed-metadata-call-for-testing

Conversation

@Kobzol

@Kobzol Kobzol commented Aug 16, 2026

Copy link
Copy Markdown
Member

This post informs users about the plan to use -Zembed-metadata=no by default on the nightly channel. It provides some context, describes the original issue, how it is solved with the flag, and shows some benchmark results on serde and Cargo itself.

Rendered

@Kobzol
Kobzol marked this pull request as draft August 16, 2026 22:35
@weihanglo

Copy link
Copy Markdown
Member

I se the publication date for next Monday, but that might be too optimistic,

We usually do submodule sync on Tuesday, but no problem to do it earlier.

@Kobzol

Kobzol commented Aug 18, 2026

Copy link
Copy Markdown
Member Author

Since the PR has been merged, we should get this out before the next sync, ideally. So that means either getting it out today, or waiting a week? @weihanglo

@Kobzol
Kobzol marked this pull request as ready for review August 18, 2026 05:52
@weihanglo

Copy link
Copy Markdown
Member

rust-lang/rust#161273 is the sync PR. I am expecting it go out tonight

Comment thread content/inside-rust/reducing-target-dir-size-on-nightly.md Outdated
Comment thread content/inside-rust/reducing-target-dir-size-on-nightly.md Outdated
Kobzol and others added 3 commits August 18, 2026 15:47
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
@Kobzol

Kobzol commented Aug 18, 2026

Copy link
Copy Markdown
Member Author

Mentioned the environment variable and set the publication date to today.

To make the text read easier.

@weihanglo weihanglo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Kobzol
Kobzol added this pull request to the merge queue Aug 18, 2026
Merged via the queue into rust-lang:main with commit 6c2ffdd Aug 18, 2026
7 checks passed
@Kobzol
Kobzol deleted the cargo-embed-metadata-call-for-testing branch August 18, 2026 14:26
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.

2 participants