We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using very large indices, the bounds checking code fails. Example:
let x = [0i32, ..16]; assert_eq(x[1u << 63],0); assert_eq(&x[0], &x[1u << 63]);
Both asserts pass on a 64 bit system.
The text was updated successfully, but these errors were encountered:
It should compare/store element length rather than byte length.
Sorry, something went wrong.
aa93381
No branches or pull requests
When using very large indices, the bounds checking code fails. Example:
Both asserts pass on a 64 bit system.
The text was updated successfully, but these errors were encountered: