Skip to content

ziggy build - accept target argument#161

Open
chris-srlabs wants to merge 2 commits intomainfrom
feat-build-target
Open

ziggy build - accept target argument#161
chris-srlabs wants to merge 2 commits intomainfrom
feat-build-target

Conversation

@chris-srlabs
Copy link
Copy Markdown
Collaborator

Do not build all targets, but only those specified (or resolved), this implicitly propagates to the fuzz subcmd.
Usually the harness contains a single bin target and then nothing changes. This errs before building and trying to fuzz a non existing target. Avoid confusion, by resolving the target automatically only when unambiguous.

Additionally, cache cargo_metadata in Common struct (now an argument for every subcmd).

builds on #158

Adapt target resolving, such that guessing fails when bin target is
non-unique. Additionally, cache `cargo_metadata` in `Common` struct (now an
argument for every subcmd).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants