Skip to content

Tracking Issue for -Zno-embed-metadata #15495

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
1 task
Kobzol opened this issue May 6, 2025 · 0 comments
Open
1 task

Tracking Issue for -Zno-embed-metadata #15495

Kobzol opened this issue May 6, 2025 · 0 comments
Labels
A-build-execution Area: anything dealing with executing the compiler C-tracking-issue Category: A tracking issue for something unstable.

Comments

@Kobzol
Copy link
Contributor

Kobzol commented May 6, 2025

Summary

Implementation: #15378
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#no-embed-metadata

The -Zno-embed-metadata flag tells Cargo to pass -Zembed-metadata=no to rustc, which saves disk space in the target directory, by avoiding generating duplicated metadata.

Unresolved Issues

  • Is this a breaking change? Since rlibs/dylibs will not contain metadata after this change, it could break some users who depended on this.

Future Extensions

No response

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

@Kobzol Kobzol added the C-tracking-issue Category: A tracking issue for something unstable. label May 6, 2025
@epage epage added the A-build-execution Area: anything dealing with executing the compiler label May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-build-execution Area: anything dealing with executing the compiler C-tracking-issue Category: A tracking issue for something unstable.
Projects
Status: No status
Development

No branches or pull requests

2 participants