Skip to content

Tracking Issue for -Zno-embed-metadata #15495

Open
@Kobzol

Description

@Kobzol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build-executionArea: anything dealing with executing the compilerC-tracking-issueCategory: A tracking issue for something unstable.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions