Skip to content

Conversation

@lukaslueg
Copy link
Contributor

This causes the proc-macro feature to be ignored for wasm-targets where proc-macro is not available. Currently, if a crate is to be built on wasm that depends on syn, the proc-macro feature from an actual proc-macro leaks into the build-environment of syn, causing the build to fail.

This patch enables me to build (and run) my crate on wasm-targets.

I'd be nice if this could be bumped into a 0.14 release. This is a concerted effort with proc-macro2, syn, quote and stdweb; all of which need patching to compile on wasm.

@dtolnay dtolnay merged commit 2fc18c7 into dtolnay:master Aug 12, 2018
utkarshkukreti added a commit to utkarshkukreti/syn that referenced this pull request Sep 22, 2018
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 this pull request may close these issues.

2 participants