-
Notifications
You must be signed in to change notification settings - Fork 79
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
LLVM ERROR: Binary operator type not yet supported for integer types larger than 64 bits #152
Comments
This looks like something somewhere in your crate graph is using the I had this problem myself before with So we'd need to figure out which crate exactly breaks the compilation here. I see you've upgraded to |
Super fine idea, I'll have a look. |
Alright so it is due to rand 0.6! And rand 0.6 did some SIMD stuff but that appears to be turned off by default. Bit clueless here. |
Probably due to From their changelog:
So it looks like it's turned on by default. |
I saw that but don't know how to turn it off.
…On Thu, Nov 22, 2018, 16:58 Koute ***@***.***> wrote:
Probably due to i128 support.
From their changelog:
## [0.6.0] - 2018-11-14
...
- Support for `i128` and `u128` is automatically enabled for Rust >= 1.26. This
renders the `i128_support` feature obsolete. It still exists for backwards
compatibility but does not have any effect. This breaks programs using Rand
with `i128_support` on nightlies older than Rust 1.26. (#571)
So it looks like it's turned on by default.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#152 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAGgNl_o4kdBZqy021uYlQdXnf4Rsl7ks5uxsmigaJpZM4YtcZ9>
.
|
Can you experimentally just comment out the body of That should help confirm if that's indeed the issue, and if it is this needs to be properly fixed in |
Sorry for the long silence. Your suggestion makes it work! In particular, the problem is this line in the primary |
Any idea where to go from here? I reported an issue upstream. |
Not a cargo-web problem at all and we're fixing this over in rand for now. Perhaps at some point upstream will fix this in emscripten. For the time being, the fix in rand is good enough. Thanks. |
I get this error when trying to compile my project using cargo-web 0.6.19 and 0.6.20:
Full log attached: build.log
System information: Arch Linux gcc 8.2.1, clang 7, rust 1.32.0-nightly. It doesn't matter when I use the emscripten/binaryen versions that cargo-web wants to download or whether I use my system versions.
There's an issue in emscripten that looks like it: emscripten-core/emscripten#3789
What I do:
cargo-web build --release
My Web.toml:
I don't even know whether this is the right place to post this but I've got to start somewhere.
The text was updated successfully, but these errors were encountered: