Allow printing the version of the default codegen backend if it isn't llvm
This commit is contained in:
@@ -167,6 +167,10 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
|||||||
vec![]
|
vec![]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn print_version(&self) {
|
||||||
|
println!("Cranelift version: {}", cranelift_codegen::VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
fn codegen_crate(
|
fn codegen_crate(
|
||||||
&self,
|
&self,
|
||||||
tcx: TyCtxt<'_>,
|
tcx: TyCtxt<'_>,
|
||||||
|
|||||||
Reference in New Issue
Block a user