about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 16:45:33 +0000
committerAntoni Boucher <bouanto@zoho.com>2023-02-28 19:13:19 -0500
commit15b0747049300aca6e90c38b4a25f10cc2f89d29 (patch)
tree2860257009ae474723c6b6782d6a378856d09c4a
parent5d5c5f92fbdfb6a513a679f397041f0a92e84e0f (diff)
downloadrust-15b0747049300aca6e90c38b4a25f10cc2f89d29.tar.gz
rust-15b0747049300aca6e90c38b4a25f10cc2f89d29.zip
Remove unused target_cpu and tune_cpu methods from ExtraBackendMethods
-rw-r--r--src/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3b631e7e18d..0d5272eb007 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -173,15 +173,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;