From 3aefb2e69e87fcc6133754ddb55ffbd935021090 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 5 Mar 2024 20:17:22 +0100 Subject: [PATCH] Fix cg_gcc build --- compiler/rustc_codegen_gcc/src/type_.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/rustc_codegen_gcc/src/type_.rs b/compiler/rustc_codegen_gcc/src/type_.rs index c8e6ae69bd95..68471b028beb 100644 --- a/compiler/rustc_codegen_gcc/src/type_.rs +++ b/compiler/rustc_codegen_gcc/src/type_.rs @@ -136,10 +136,6 @@ impl<'gcc, 'tcx> BaseTypeMethods<'tcx> for CodegenCx<'gcc, 'tcx> { unimplemented!("f16_f128") } - fn type_f128(&self) -> Type<'gcc> { - unimplemented!("f16_f128") - } - fn type_func(&self, params: &[Type<'gcc>], return_type: Type<'gcc>) -> Type<'gcc> { self.context.new_function_pointer_type(None, return_type, params, false) }