-
Notifications
You must be signed in to change notification settings - Fork 129
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
Code is broken for wasm32-unknow-emscripten #335
Comments
Related to #304 |
I've done a tiny bit of investigation. As Lines 89 to 103 in 7fefc00
#[cfg()] s are needed. While ron could mirror part of serde 's build script, this does seem overkill. Adding a separate integer128 feature as suggested in #304 seems like the better option. This could then be tested by trying to build with target wasm32-unknown-emscripten on 1.36.0 . Or ron could bump its MSRV to 1.40 which is when emscripten gained support for 128b integers. @caiiiycuk what Rust version are you using?
|
1.53.0 |
I think adding wasm to the build matrix makes sense. @kvark thoughts on this? I think a feature for |
Yes, it all sounds reasonable. Although, I think @caiiiycuk 's original need for this issue is no longer active, if I understand correctly. This was needed for vange-rs, and the current plan is to use |
Correct, but I think for consistency should be fixed at some time. |
@caiiiycuk Has this been fixed with #351? |
Just checked on vange-rs, works like a charm! |
When I try to build project that depends on [email protected] for target wasm32-unknow-emscripten, I have lot of messages like this:
I believe it's because emscripten target does not have i128/u182 types. Serde in that case does not have deserialize_i128/u128. As workaround I use version 0.5.1, it does not contains i128/u128 and works fine. However I would like to update to latest version if possible.
The text was updated successfully, but these errors were encountered: