Skip to content

cargo-wdk: File-based configuration for build and packaging options #731

Description

Currently, cargo-wdk exposes CLI options to configure the build, e.g. --target-architecture, --target-platform, --stampinf-args. There is no way, other than the full cargo wdk build invocation, to specify/record how a particular driver must be built.

For e.g. if a driver is built with

cargo wdk build --target-platform desktop --sample --inf2cat-args '/os:10_x64'

Developers and CI must know and use exact command. Further, the passthrough flags take raw quoted strings which could lead to long command lines. With workspaces, mixed workspaces (driver + non-driver) the problem becomes larger.

In order to cater to these issues, cargo-wdk can support a way to configure the build and packaging options through a file, so that plain cargo wdk build produces a correct package.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions