-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-target-specsArea: Compile-target specificationsArea: Compile-target specificationsC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
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
Labels
A-target-specsArea: Compile-target specificationsArea: Compile-target specificationsC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.