about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 16:45:33 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 16:45:33 +0000
commita3cc67c79636e5deab118171b5ba672c3d0a99e1 (patch)
tree0ca1543370d9869c2d7b5dfe6653278dea242f87 /compiler/rustc_codegen_gcc
parentc431ea681c51c9b0eedf070a72f5c7c3ad3b87a3 (diff)
downloadrust-a3cc67c79636e5deab118171b5ba672c3d0a99e1.tar.gz
rust-a3cc67c79636e5deab118171b5ba672c3d0a99e1.zip
Remove unused target_cpu and tune_cpu methods from ExtraBackendMethods
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs
index a70ed8084a9..accd02ab002 100644
--- a/compiler/rustc_codegen_gcc/src/lib.rs
+++ b/compiler/rustc_codegen_gcc/src/lib.rs
@@ -171,15 +171,6 @@ impl ExtraBackendMethods for GccCodegenBackend {
             Ok(())
         })
     }
-
-    fn target_cpu<'b>(&self, _sess: &'b Session) -> &'b str {
-        unimplemented!();
-    }
-
-    fn tune_cpu<'b>(&self, _sess: &'b Session) -> Option<&'b str> {
-        None
-        // TODO(antoyo)
-    }
 }
 
 pub struct ModuleBuffer;