diff --git a/rustc_codegen_spirv/src/lib.rs b/rustc_codegen_spirv/src/lib.rs index 108ee96f42..0840beff47 100644 --- a/rustc_codegen_spirv/src/lib.rs +++ b/rustc_codegen_spirv/src/lib.rs @@ -520,6 +520,10 @@ impl ExtraBackendMethods for SpirvCodegenBackend { fn target_cpu<'b>(&self, _: &'b Session) -> &'b str { todo!() } + + fn tune_cpu<'b>(&self, _: &'b Session) -> Option<&'b str> { + None + } } struct DumpModuleOnPanic<'a, 'cx, 'tcx> {