Skip to content
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

Update browser support for BigInt #1728

Merged
merged 2 commits into from
Aug 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions guide/src/reference/browser-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ also like to be aware of it!
forbids the usage of 64-bit integers (Rust types `i64` and `u64`) in
exported/imported functions. When using `wasm-bindgen`, however, `u64` is
allowed! The reason for this is that it's translated to the `BigInt` type in
JS. The `BigInt` class, however, is only currently supported in Chrome (as of
the time of this writing) and isn't supported in Firefox or Edge, for
example.
JS. The `BigInt` class, however, is only currently supported in Chrome 67+ and
Firefox 68+ (as of the time of this writing) and isn't supported in Edge or
Safari, for example. For more, up-to-date details, see [`BigInt` on Can I
use...][ciu_bigint].

If you find other incompatibilities please report them to us! We'd love to
either keep this list up-to-date or fix the underlying bugs :)
Expand All @@ -71,3 +72,4 @@ either keep this list up-to-date or fix the underlying bugs :)
[`text-encoding`]: https://www.npmjs.com/package/text-encoding
[soq]: https://stackoverflow.com/questions/40662142/polyfill-for-textdecoder/46549188#46549188
[mdntepi]: https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder#Polyfill
[ciu_bigint]: https://caniuse.com/#feat=bigint