Skip to content

Target spec JSON files are not checked for unknown keys #75869

Open
@phil-opp

Description

@phil-opp

Target JSON files are currently not checked for unknown keys, so typos can easily lead to bugs. For example, a "panic_strategy": "abort" key is silently ignored because the correct key name is panic-strategy (- instead of _).

This is not a new problem, but I could not find any open issue for this. Feel free to close this if this is a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-target-specsArea: Compile-target specificationsC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions