File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
compiler/rustc_codegen_ssa/src Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -783,7 +783,7 @@ impl CrateInfo {
783783 }
784784}
785785
786- pub fn provide_both ( providers : & mut Providers ) {
786+ pub fn provide ( providers : & mut Providers ) {
787787 providers. backend_optimization_level = |tcx, cratenum| {
788788 let for_speed = match tcx. sess . opts . optimize {
789789 // If globally no optimisation is done, #[optimize] has no effect.
Original file line number Diff line number Diff line change @@ -160,13 +160,12 @@ pub struct CodegenResults {
160160
161161pub fn provide ( providers : & mut Providers ) {
162162 crate :: back:: symbol_export:: provide ( providers) ;
163- crate :: base:: provide_both ( providers) ;
163+ crate :: base:: provide ( providers) ;
164164 crate :: target_features:: provide ( providers) ;
165165}
166166
167167pub fn provide_extern ( providers : & mut Providers ) {
168168 crate :: back:: symbol_export:: provide_extern ( providers) ;
169- crate :: base:: provide_both ( providers) ;
170169}
171170
172171/// Checks if the given filename ends with the `.rcgu.o` extension that `rustc`
You can’t perform that action at this time.
0 commit comments