Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to set environmental variables for cargo commands #147

Open
ChocolateLoverRaj opened this issue Feb 13, 2024 · 1 comment · May be fixed by #137
Open

Add option to set environmental variables for cargo commands #147

ChocolateLoverRaj opened this issue Feb 13, 2024 · 1 comment · May be fixed by #137

Comments

@ChocolateLoverRaj
Copy link

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.

@ChocolateLoverRaj
Copy link
Author

I'm going to make a PR for this

@ChocolateLoverRaj ChocolateLoverRaj linked a pull request Feb 14, 2024 that will close this issue
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 a pull request may close this issue.

1 participant