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

bugfix: #[wasm_import_module] as #[link(...)] #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

bugfix: #[wasm_import_module] as #[link(...)] #3

wants to merge 1 commit into from

Conversation

cgmcintyr
Copy link

closes #2

@cgmcintyr
Copy link
Author

I'm quite new to rust, so apologies if this isn't the right way to use the link attribute.

@cgmcintyr
Copy link
Author

cgmcintyr commented Dec 17, 2018

The force pushes were a result of me thinking #![feature(wasm_import_module)] should be left in lib.rs. However this broke the build.

I've now tested with stable (rustc 1.31.0 (abe02cefd 2018-12-04)) and cwa-rs compiles fine without #![feature(wasm_import_module)] being present :)

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.

Attribute wasm_import_module not recognised
1 participant