File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
compiler/rustc_codegen_ssa/src/back Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,9 @@ pub struct ModuleConfig {
76
76
/// Names of additional optimization passes to run.
77
77
pub passes : Vec < String > ,
78
78
/// Some(level) to optimize at a certain level, or None to run
79
- /// absolutely no optimizations (used for the metadata module).
79
+ /// absolutely no optimizations (used for the allocator module).
80
80
pub opt_level : Option < config:: OptLevel > ,
81
81
82
- /// Some(level) to optimize binary size, or None to not affect program size.
83
- pub opt_size : Option < config:: OptLevel > ,
84
-
85
82
pub pgo_gen : SwitchWithOptPath ,
86
83
pub pgo_use : Option < PathBuf > ,
87
84
pub pgo_sample_use : Option < PathBuf > ,
@@ -170,7 +167,6 @@ impl ModuleConfig {
170
167
passes : if_regular ! ( sess. opts. cg. passes. clone( ) , vec![ ] ) ,
171
168
172
169
opt_level : opt_level_and_size,
173
- opt_size : opt_level_and_size,
174
170
175
171
pgo_gen : if_regular ! (
176
172
sess. opts. cg. profile_generate. clone( ) ,
You can’t perform that action at this time.
0 commit comments