Skip to content

Add option to set environmental variables for cargo commands #147

@ChocolateLoverRaj

Description

@ChocolateLoverRaj

I want to use Web BLE, which requires the environmental variable RUSTFLAGS=--cfg=web_sys_unstable_apis. (More info). Currently, it works if I do RUSTFLAGS=--cfg=web_sys_unstable_apis npm start, but I would prefer to have the environmental variable as part of the Webpack config so I can just run npm start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions