This commit is contained in:
bjorn3
2021-06-21 13:24:46 +02:00
parent 9e5201d88f
commit 53ec12d519
5 changed files with 7 additions and 16 deletions

View File

@@ -48,8 +48,8 @@ impl SingleFunctionCompiler {
/// Build a [SingleFunctionCompiler] using the host machine's ISA and the passed flags.
pub fn with_host_isa(flags: settings::Flags) -> Self {
let builder = builder_with_options(true)
.expect("Unable to build a TargetIsa for the current host");
let builder =
builder_with_options(true).expect("Unable to build a TargetIsa for the current host");
let isa = builder.finish(flags);
Self::new(isa)
}