rusty_v8
rusty_v8 copied to clipboard
Integer::try_from() should work for all i64s
v8::Integer::try_from(value) currently checks that value.is_int32() || value.is_uint32(), meaning the range is restricted to a subset of v8::Integer::value().
That's confusing/misleading/arguably wrong so I suggest we fix that.
https://chromium-review.googlesource.com/c/v8/v8/+/3301467