Allow printing the version of the default codegen backend if it isn't llvm
This commit is contained in:
parent
20e9a1372b
commit
b6f0b46e20
1 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,10 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
|||
vec![]
|
||||
}
|
||||
|
||||
fn print_version(&self) {
|
||||
println!("Cranelift version: {}", cranelift_codegen::VERSION);
|
||||
}
|
||||
|
||||
fn codegen_crate(
|
||||
&self,
|
||||
tcx: TyCtxt<'_>,
|
||||
|
|
Loading…
Reference in a new issue