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

Failure to build on Windows #3

Closed
JohnDoneth opened this issue Jan 25, 2019 · 2 comments
Closed

Failure to build on Windows #3

JohnDoneth opened this issue Jan 25, 2019 · 2 comments

Comments

@JohnDoneth
Copy link

On the latest stable version of Rust I have encountered the following error when trying to build the example.

   Compiling wasmer-runtime-core v0.1.2
error[E0432]: unresolved import `self::memory`
 --> C:\Users\Donet\.cargo\registry\src\git.luolix.top-1ecc6299db9ec823\wasmer-runtime-core-0.1.2\src\sys\windows\mod.rs:1:15
  |
1 | pub use self::memory::{Memory, Protect};
  |               ^^^^^^ could not find `memory` in `self`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: Could not compile `wasmer-runtime-core`.
@JohnDoneth
Copy link
Author

JohnDoneth commented Jan 25, 2019

I have isolated the issue to a single missing mod memory; that exists in the Unix build configuration but not the Windows build configuration which is probably how it slipped past release of the crate.

Windows support issue: wasmerio/wasmer#51

@JohnDoneth JohnDoneth changed the title Failure to build due to a use statement in wasmer-runtime-core v0.1.2 Failure to build on Windows Jan 25, 2019
@syrusakbary
Copy link
Member

The latest changes in #5 (wasmer 0.2.0) make the example run on Windows perfectly :)

Closing the issue

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

No branches or pull requests

2 participants