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

Skip running benchmarks in CI (#1085)

This commit is contained in:
Divy Srivastava 2022-10-05 09:23:27 -07:00 committed by GitHub
parent 128be61039
commit 40cb4f8ec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,10 @@
use std::os::raw::c_void;
fn main() {
// Skip running benchmarks in debug or CI.
if cfg!(debug_assertions) || std::env::var("CI").is_ok() {
return;
}
v8::V8::set_flags_from_string(
"--turbo_fast_api_calls --allow_natives_syntax",
);