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 {
7676 /// Names of additional optimization passes to run.
7777 pub passes : Vec < String > ,
7878 /// 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).
8080 pub opt_level : Option < config:: OptLevel > ,
8181
82- /// Some(level) to optimize binary size, or None to not affect program size.
83- pub opt_size : Option < config:: OptLevel > ,
84-
8582 pub pgo_gen : SwitchWithOptPath ,
8683 pub pgo_use : Option < PathBuf > ,
8784 pub pgo_sample_use : Option < PathBuf > ,
@@ -170,7 +167,6 @@ impl ModuleConfig {
170167 passes : if_regular ! ( sess. opts. cg. passes. clone( ) , vec![ ] ) ,
171168
172169 opt_level : opt_level_and_size,
173- opt_size : opt_level_and_size,
174170
175171 pgo_gen : if_regular ! (
176172 sess. opts. cg. profile_generate. clone( ) ,
You can’t perform that action at this time.
0 commit comments