1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 05:49:20 -05:00

allow v8 cli flags on deno_core_http_bench (#1934)

This commit is contained in:
Ryan Dahl 2019-03-15 03:12:56 -04:00 committed by GitHub
parent 630ead1296
commit 45fad1b7cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,6 +182,7 @@ fn main() {
}); });
let args: Vec<String> = env::args().collect(); let args: Vec<String> = env::args().collect();
let args = deno_core::v8_set_flags(args);
if args.len() > 1 && args[1] == "--multi-thread" { if args.len() > 1 && args[1] == "--multi-thread" {
println!("multi-thread"); println!("multi-thread");
tokio::run(main_future); tokio::run(main_future);