mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-25 00:29:14 -05:00
Skip running benchmarks in CI (#1085)
This commit is contained in:
parent
128be61039
commit
40cb4f8ec9
1 changed files with 4 additions and 0 deletions
|
@ -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",
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue