summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
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_ssa/src
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_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/traits/backend.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/backend.rs b/compiler/rustc_codegen_ssa/src/traits/backend.rs
index 779bd3ea278..87e347c61e2 100644
--- a/compiler/rustc_codegen_ssa/src/traits/backend.rs
+++ b/compiler/rustc_codegen_ssa/src/traits/backend.rs
@@ -134,8 +134,6 @@ pub trait ExtraBackendMethods: CodegenBackend + WriteBackendMethods + Sized + Se
         opt_level: config::OptLevel,
         target_features: &[String],
     ) -> TargetMachineFactoryFn<Self>;
-    fn target_cpu<'b>(&self, sess: &'b Session) -> &'b str;
-    fn tune_cpu<'b>(&self, sess: &'b Session) -> Option<&'b str>;
 
     fn spawn_thread<F, T>(_time_trace: bool, f: F) -> std::thread::JoinHandle<T>
     where