@@ -112,7 +112,6 @@ pub struct Options {
112112 // with additional crate configurations during the compile process
113113 pub crate_types : Vec < CrateType > ,
114114
115- pub gc : bool ,
116115 pub optimize : OptLevel ,
117116 pub debug_assertions : bool ,
118117 pub debuginfo : DebugInfoLevel ,
@@ -242,7 +241,6 @@ pub fn host_triple() -> &'static str {
242241pub fn basic_options ( ) -> Options {
243242 Options {
244243 crate_types : Vec :: new ( ) ,
245- gc : false ,
246244 optimize : OptLevel :: No ,
247245 debuginfo : NoDebugInfo ,
248246 lint_opts : Vec :: new ( ) ,
@@ -632,14 +630,10 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
632630 "omit landing pads for unwinding" ) ,
633631 debug_llvm: bool = ( false , parse_bool,
634632 "enable debug output from LLVM" ) ,
635- count_type_sizes: bool = ( false , parse_bool,
636- "count the sizes of aggregate types" ) ,
637633 meta_stats: bool = ( false , parse_bool,
638634 "gather metadata statistics" ) ,
639635 print_link_args: bool = ( false , parse_bool,
640636 "print the arguments passed to the linker" ) ,
641- gc: bool = ( false , parse_bool,
642- "garbage collect shared data (experimental)" ) ,
643637 print_llvm_passes: bool = ( false , parse_bool,
644638 "prints the llvm optimization passes being run" ) ,
645639 ast_json: bool = ( false , parse_bool,
@@ -1189,7 +1183,6 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
11891183 }
11901184 } ;
11911185 let debug_assertions = cg. debug_assertions . unwrap_or ( opt_level == OptLevel :: No ) ;
1192- let gc = debugging_opts. gc ;
11931186 let debuginfo = if matches. opt_present ( "g" ) {
11941187 if cg. debuginfo . is_some ( ) {
11951188 early_error ( error_format, "-g and -C debuginfo both provided" ) ;
@@ -1272,7 +1265,6 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
12721265
12731266 Options {
12741267 crate_types : crate_types,
1275- gc : gc,
12761268 optimize : opt_level,
12771269 debuginfo : debuginfo,
12781270 lint_opts : lint_opts,
0 commit comments