Skip to content

Add target to binding specification: prescriptive binding specs #1298

@TravisCardwell

Description

@TravisCardwell

This sub-issue is part of #1232. It concerns processing of the target specified in a prescriptive binding specification.

The target of the bindings currently being generated is referred to as the current target.

If a prescriptive binding specification specifies a target, then it must exactly match the current target. A mismatch should trace an error message.

If a prescriptive binding specification specifies target any, then we should trace an error message if any target-specific bindings would be generated. For example, generation of Storable instances is target-specific.

A option with CLI flag --ignore-target should be added. When specified the above traces should use level Notice instead.

Metadata

Metadata

Labels

bindingspecsIssues related to binding specifications (input, external, or generated)triageRequires triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions