-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
BigInt support #56
Comments
I was thinking about doing this earlier today, and was trying to figure out how |
Sadly, |
See also: WebKit test case https://github.com/WebKit/webkit/blob/3a6be938ed0ede574ca96575dbe69f572269c819/JSTests/wasm/function-tests/function-import-return-value.js#L130-L184 |
BigInt
is supported in Safari 14 on both macOS Catalina/Big Sur and iOS 14, makes perfect sense to support it on our side too, especially to allow proper handling of Int64.Need to be careful about browser compatibility though. Should JavaScriptKit just
fatalError
on older browsers when users attempt to useJSBigInt
in their code?Also a good case for a pitch for proper browser versioning in Swift, I'll open a separate toolchain issue for it.
The text was updated successfully, but these errors were encountered: