Skip to content

Rust cargo arguments not supported? #121

@yurushao

Description

@yurushao

Our mainnet program is built with cargo args:

 anchor build -- --features mainnet --tools-version v1.43

Tried to pass the args to solana-verify but it didn't work

$ solana-verify build -- --features mainnet
...
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
error: none of the selected packages contains these features: mainnet
Finished building program
Program Solana version: v1.18.23
Docker image Solana version: v1.18.23

Any advice on how to make it work? Thanks!

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