-
-
Notifications
You must be signed in to change notification settings - Fork 119
Not able to build crate with semver_exempt and --target flag passed #131
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
Comments
From the other thread.
I have tried this and other combination of flags from command line as well as from the .cargo/config, nothing works. |
Are you compiling from Linux? The |
Yeah I am compiling from Linux. I don't understand what you mean by
|
The configuration of |
It prints the |
Ah then maybe this is a bug in Cargo? I'm not entirely sure :( |
Should I file a bug in |
Perhaps! This probably requires a little more debugging to figure out where an issue goes. I don't know myself what to do with this issue. |
If Alex isn't sure what to do here, this issue is no longer actionable, so I'll go ahead and close. Someone will need to debug this further as discussed above. If it turns out that some fix is necessary in this crate, feel free to open a PR or new issue then. |
I need to build a macro for wasm usage which requires
semver_exempt
ed features. I am not able to run correctlyRUSTFLAGS='--cfg procmacro2_semver_exempt' cargo build --target wasm32-unknown-unknown
. The RUSTFLAGS is being ignored. It seems to be due to this.Is there a way to get around this or provide an alternative feature flag (if nothing else possible)?
The text was updated successfully, but these errors were encountered: