tenseleyflow/bencch / 88d4bf1

Browse files

update Options literal to match armfortas sprint 32 struct

Armfortas's driver::Options grew from ~9 fields to 30 as part of
the sprint 32 CLI work. Switch the bench compiler_shim to the
spread-form Options::default() construction so future field adds
in the compiler don't break the bench.
Authored by espadonne
SHA
88d4bf12d3f0f79253e6ff67ec266e6a6f607dbb
Parents
6b41229
Tree
9e8819f

1 changed file

StatusFile+-
M bench/src/compiler.rs 1 4
bench/src/compiler.rsmodified
@@ -24,11 +24,8 @@ pub fn compile_output(
2424
         output: Some(PathBuf::from(output)),
2525
         emit_asm: matches!(mode, EmitMode::Asm),
2626
         emit_obj: matches!(mode, EmitMode::Obj),
27
-        emit_ir: false,
28
-        preprocess_only: false,
2927
         opt_level: into_driver_opt_level(opt_level),
30
-        extra_inputs: vec![],
31
-        module_search_paths: vec![],
28
+        ..armfortas::driver::Options::default()
3229
     };
3330
 
3431
     armfortas::driver::compile(&opts)