Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

'RUSTFLAGS' is not recognized as an internal or external command, #10

Closed
Tsjippy opened this issue Feb 1, 2021 · 2 comments
Closed

Comments

@Tsjippy
Copy link

Tsjippy commented Feb 1, 2021

When trying to compile on windows with "C:\Program Files (x86)\GnuWin32\bin\make.exe" libzkgroup I get this:

RUSTFLAGS='-C link-arg=-s' cargo build --release
'RUSTFLAGS' is not recognized as an internal or external command,
operable program or batch file.
make: *** [libzkgroup] Fout 1

How do I fix that?

@dennisameling
Copy link
Contributor

Do you have Git for Windows installed? You can try running the same command with Git Bash, it'll work then. This way of setting parameters is a Unix-only thing AFAIK.

@Tsjippy
Copy link
Author

Tsjippy commented Feb 10, 2021

That works thank you very much!

@Tsjippy Tsjippy closed this as completed Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants