0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-27 01:29:19 -05:00

Disable relative vtable on Android (#1581)

This commit is contained in:
Divy Srivastava 2024-08-25 21:02:33 -07:00 committed by GitHub
parent e22578dbe1
commit 15b2ad2826
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
.gn
View file

@ -86,4 +86,6 @@ default_args = {
#
# rusty_v8 scopes are not on the stack.
v8_enable_v8_checks = false
use_relative_vtables_abi = false
}

View file

@ -9444,7 +9444,6 @@ fn compile_function() {
assert_eq!(42 * 1337, result.int32_value(scope).unwrap());
}
#[cfg(not(target_os = "android"))]
static EXAMPLE_STRING: v8::OneByteConst =
v8::String::create_external_onebyte_const(b"const static");
@ -9516,7 +9515,6 @@ fn external_strings() {
assert!(latin1.contains_only_onebyte());
// one-byte "const" test
#[cfg(not(target_os = "android"))]
{
assert_eq!(EXAMPLE_STRING.as_bytes(), b"const static");
let const_ref_string =