Skip to content

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

Open
cgmcintyr wants to merge 1 commit intoCommonWA:masterfrom
cgmcintyr:master
Open

bugfix: #[wasm_import_module] as #[link(...)]#3
cgmcintyr wants to merge 1 commit intoCommonWA:masterfrom
cgmcintyr:master

Conversation

@cgmcintyr
Copy link
Copy Markdown

closes #2

@cgmcintyr
Copy link
Copy Markdown
Author

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

@cgmcintyr
Copy link
Copy Markdown
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