-
Notifications
You must be signed in to change notification settings - Fork 111
128 bit integers not supported (needed for Rust) #169
Comments
How does this work in a regular rust build? Does it just rely on LLVM's legalization to lower the i128s? |
I'm not familiar enough with LLVM to know what you mean by legalization but it does rely on the backend to handle i128. Essentially, it translates Rust's
|
I see, thanks. Well, this is something that can't easily be supported in fastcomp. The LLVM backend can handle it, though, so this might just wait for that to be ready (unless someone is interested to improve fastcomp legalization) |
Since llvm backend has now become the default, this is probably a wontfix, isn't it? |
Thanks @marmistrz , yeah, since we use the llvm backend this is no longer a problem. |
Yeah I'd say it was fixed by rust-lang/rust@2bf59be |
Hi!
Rust recently has gained experimental 128 bit integer support. The intention is to, unlike C or C++ which only support it on X86_64, provide 128 bit integers cross platform, just like its done for 64 bit integers already.
The regression test for 128 bit integers in the rust codebase is currently ignored for emscripten. When unignoring it, one gets the error message:
This error message originates in code from this repo. The file that contains the error message also states that 64 is the maximum supported number. It would be great if it could be raised to 128.
This is a fairly minimal reproducing example:
cc @nagisa
cc @alexcrichton
The text was updated successfully, but these errors were encountered: