mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
8 lines
316 B
Rust
8 lines
316 B
Rust
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
use rusty_v8 as v8;
|
|
/// Pass the command line arguments to v8.
|
|
/// Returns a vector of command line arguments that V8 did not understand.
|
|
pub fn v8_set_flags(args: Vec<String>) -> Vec<String> {
|
|
v8::V8::set_flags_from_command_line(args)
|
|
}
|