Skip to content

midenc option --emit hir=./target does not emit when passed along with -o #724

@greenhat

Description

@greenhat

Discovered while working on #723

When running cargo miden build --release --emit hir=./target the --emit option is overridden by -o. The run finishes with error compilation was canceled by user(which is suspicious) but the Miden package is created.

The midenc arguments passed in this case are:

    "--output-dir",
    "/Users/green/src/miden/compiler/examples/basic-wallet/target/miden/release",
    "-o",
    "/Users/green/src/miden/compiler/examples/basic-wallet/target/miden/release/basic_wallet.masp",
    "--verbose",
    "--target",
    "rollup:account",
    "--lib",
    "--emit",
    "hir=./target",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions