You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
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 currentlyignored for emscripten. When unignoring it, one gets the error message:
LLVM ERROR: Function _ZN4test9black_box17h6220793b9183d295E has illegal integer argument
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:
#![feature(i128_type, test)]#[inline(never)]fnb(i:i128) -> i128{// same as the black_box function from the test crate
i
}fnmain(){let x:i128 = b(-1);let y:i128 = b(3);assert_eq!(0, !x);}