-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
U64 does not work in Safari #2716
Comments
Safari 15, released in September, added support for |
I don't think that's a satisfying solution, especially when the documentation claims that it should work on Safari. I'm working on a PR that should hopefully solve this issue for all BigInt supporting browsers |
To be clear, I wasn't offering a solution previously, only describing the current state of Safari support. An improved polyfill that handles Safari 14 would be great. |
All good, I misinterpreted in that case, sorry for that |
I have a branch on my fork which works in Safari and all other browsers that support BigInt: |
does #3037 fixed this issue? |
Yes. |
Hello, bf109de was supposed to fix this issue, but release 0.2.83 still fails upon using BigInt64Array on Safari iOS 14.8. This has been tested through Ruffle and the issue started when they updated to 0.2.83 (ruffle-rs/ruffle@1954f61). Any ideas? |
This stops load-time errors in versions of Safari before 15 if the `BigInt64Array` or `BigUint64Array` memory views are included but never used. Pointed out in rustwasm#2716 (comment).
#3037 fixed the problem for passing Right now (since #2886), that |
Thanks for your detailed answer :) Unfortunately I cannot test right now because I have no idea how to compile Ruffle from source, even less how to use a specific branch rather than the release they're using. I'll update you ASAP (so whenever the PR is commited and they update their dependencies) |
* Lazily initialize memory views This stops load-time errors in versions of Safari before 15 if the `BigInt64Array` or `BigUint64Array` memory views are included but never used. Pointed out in #2716 (comment). * Update reference tests
Describe the Bug
Safari 14 does not support BigUint64Array as mentioned in #2441 (comment)
Steps to Reproduce
Run any wasm code/test that exposes u64 in safari.
https://github.com/Firaenix/wasm-bindgen-BigUint64Array-repro
Expected Behavior
Should run in Safari (iOS and macOS) as in any other environment.
Actual Behavior
Console error that causes the code not to run.
The text was updated successfully, but these errors were encountered: