-
Notifications
You must be signed in to change notification settings - Fork 106
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
Add windows support #28
Comments
Interesting link: https://github.com/KodrAus/rust-cross-compile Maybe the solution isn't so hard: https://www.reddit.com/r/rust/comments/5k8uab/crosscompiling_from_ubuntu_to_windows_with_rustup/ |
I did make an attempt at cross-compiling and it died:
This is blocked on wasmerio/wasmer#347 |
Left code here, if anyone wants to try: https://github.com/confio/go-cosmwasm/tree/windows-support |
I did not find any OS restriction in the latest compiler-singlepass anymore (master/Wasmer Reborn). It might work now. But this is not tested. |
|
Are you sure about this? I just gave it a try and ran into this error: https://github.com/wasmerio/wasmer/blob/1.0.2/lib/compiler-singlepass/src/compiler.rs#L51-L55 |
Yes, Windows support isn't here yet. We are working on it these present days :-). I missed that, sorry. cc @syrusakbary |
hello, also apple m1 |
@leejw51crypto Please see #53 for M1 (ARM Mac). |
The project that is required for this ticket is now tracked as singlepass version 2. |
- add `CONTRIBUTING.md` - add `CODE_OF_CONDUCT.md`
Singlepass supports windows now |
Right. Happy to integrate once the feature is included in a Wasmer release. See also CosmWasm/cosmwasm#1138 for a test integration. |
@tomtau Thanks for the nudge. We're on it now. |
the latest master branch of Wasmer seems to have some aarch64 support on Linux and macOS as well, but probably better to go with released versions first |
You need to distinguish between Wasmer in general and the Singlepass backend, which we need. See #53 (comment) |
See #288 for a PR to add Windows support |
We have tested running cosmwasm and cosmwasm-vm inside a windows CI, so the code should work fine.
However, we currently only built the rust dll for unix and osx. We need to add a build step to set it up for windows and properly test that.
The text was updated successfully, but these errors were encountered: