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:
parent
cd5b2fa148
commit
b6a16916ce
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue