0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00

test: don't use --harmony-top-level-await flag (#854)

Top level await is now enabled by default and the flag no longer exists.
This commit is contained in:
Bert Belder 2021-12-12 20:02:17 -08:00
parent cd5b2fa148
commit b6a16916ce
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -1,6 +1,8 @@
#[test]
fn atomics_pump_message_loop() {
v8::V8::set_flags_from_string("--harmony-top-level-await --allow-natives-syntax --harmony-sharedarraybuffer");
v8::V8::set_flags_from_string(
"--allow-natives-syntax --harmony-sharedarraybuffer",
);
v8::V8::initialize_platform(v8::new_default_platform(0, false).make_shared());
v8::V8::initialize();
let isolate = &mut v8::Isolate::new(Default::default());