From b6a16916ce04de2b65ab478101cfddf7d0e8e00c Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sun, 12 Dec 2021 20:02:17 -0800 Subject: [PATCH] test: don't use `--harmony-top-level-await` flag (#854) Top level await is now enabled by default and the flag no longer exists. --- tests/test_platform_atomics_pump_message_loop.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_platform_atomics_pump_message_loop.rs b/tests/test_platform_atomics_pump_message_loop.rs index 8d70026c..8c1c5599 100644 --- a/tests/test_platform_atomics_pump_message_loop.rs +++ b/tests/test_platform_atomics_pump_message_loop.rs @@ -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());