Skip to content

Extend config to use metadata keys, like build script directives #13211

Open
@epage

Description

@epage

In #11461, we were concerned about stepping on the toes of link metadata when adding new build script directives. #12201 solved this by locking down the old build script directive syntax and making the new syntax only accept metadata explicitly with the metadata key.

In doing this, we overlooked target.<triple>.<links>, see

_ => {
let val = value.string(key)?.0;
output.metadata.push((key.clone(), val.to_string()));
}
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configurationArea: cargo config files and env varsA-linksArea: `links` native library links settingC-enhancementCategory: enhancementS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    Status

    Nominated

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions