oxc/tasks/transform_conformance/src/main.rs
Boshen 70a0076eed
refactor: remove global allocator from non-user facing apps (#2401)
The runtime performance gains does not out weight the compilation speed from
building the custom allocators, which takes about a minute to build on
slower machines.
2024-02-12 14:09:05 +08:00

17 lines
438 B
Rust

mod ts_fixtures;
use oxc_transform_conformance::{TestRunner, TestRunnerOptions};
use pico_args::Arguments;
use ts_fixtures::TypeScriptFixtures;
fn main() {
let mut args = Arguments::from_env();
let options = TestRunnerOptions {
filter: args.opt_value_from_str("--filter").unwrap(),
exec: args.contains("--exec"),
};
TestRunner::new(options.clone()).run();
TypeScriptFixtures::new(options).run();
}