We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am currently trying to build a crate that as one of its transitive dependencies wasm-bindgen-futures and from this code: https://github.com/rustwasm/wasm-bindgen/blob/master/crates/futures/Cargo.toml#L18 it generates the following code:
wasm-bindgen-futures
target = { target, features }: (target."feature" == "atomics");
This then errors with: attribute 'feature' missing.
attribute 'feature' missing
It is similar to #37 but it uses target_feature here instead of just target
target_feature
target
The text was updated successfully, but these errors were encountered:
I have a similar problem (target = { target, features } line):
target = { target, features }
"aes" = rec { crateName = "aes"; version = "0.3.2"; edition = "2015"; sha256 = "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl"; authors = [ "RustCrypto Developers" ]; dependencies = [ { name = "aes-soft"; packageId = "aes-soft"; target = { target, features }: (!((target."feature" == "aes") && (target."feature" == "sse2") && ((target."arch" == "x86_64") || (target."arch" == "x86")))); }
Sorry, something went wrong.
Adding a feature = "" in defaultTarget is a hotfix that worked for me.
feature = ""
defaultTarget
Merged this #142
I hope it helps!
Successfully merging a pull request may close this issue.
I am currently trying to build a crate that as one of its transitive dependencies
wasm-bindgen-futures
and from this code: https://github.com/rustwasm/wasm-bindgen/blob/master/crates/futures/Cargo.toml#L18 it generates the following code:This then errors with:
attribute 'feature' missing
.It is similar to #37 but it uses
target_feature
here instead of justtarget
The text was updated successfully, but these errors were encountered: