File tree 2 files changed +0
-21
lines changed
rustc_codegen_ssa/src/traits
2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -141,18 +141,6 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
141
141
back:: write:: target_machine_factory ( sess, optlvl, target_features)
142
142
}
143
143
144
- fn spawn_thread < F , T > ( time_trace : bool , f : F ) -> std:: thread:: JoinHandle < T >
145
- where
146
- F : FnOnce ( ) -> T ,
147
- F : Send + ' static ,
148
- T : Send + ' static ,
149
- {
150
- std:: thread:: spawn ( move || {
151
- let _profiler = TimeTraceProfiler :: new ( time_trace) ;
152
- f ( )
153
- } )
154
- }
155
-
156
144
fn spawn_named_thread < F , T > (
157
145
time_trace : bool ,
158
146
name : String ,
Original file line number Diff line number Diff line change @@ -142,15 +142,6 @@ pub trait ExtraBackendMethods:
142
142
target_features : & [ String ] ,
143
143
) -> TargetMachineFactoryFn < Self > ;
144
144
145
- fn spawn_thread < F , T > ( _time_trace : bool , f : F ) -> std:: thread:: JoinHandle < T >
146
- where
147
- F : FnOnce ( ) -> T ,
148
- F : Send + ' static ,
149
- T : Send + ' static ,
150
- {
151
- std:: thread:: spawn ( f)
152
- }
153
-
154
145
fn spawn_named_thread < F , T > (
155
146
_time_trace : bool ,
156
147
name : String ,
You can’t perform that action at this time.
0 commit comments