@@ -61,6 +61,7 @@ pub struct Config {
6161 pub rust_debug_assertions : bool ,
6262 pub rust_debuginfo : bool ,
6363 pub rust_debuginfo_lines : bool ,
64+ pub rust_debuginfo_only_std : bool ,
6465 pub rust_rpath : bool ,
6566 pub rustc_default_linker : Option < String > ,
6667 pub rustc_default_ar : Option < String > ,
@@ -167,6 +168,7 @@ struct Rust {
167168 debug_assertions : Option < bool > ,
168169 debuginfo : Option < bool > ,
169170 debuginfo_lines : Option < bool > ,
171+ debuginfo_only_std : Option < bool > ,
170172 debug_jemalloc : Option < bool > ,
171173 use_jemalloc : Option < bool > ,
172174 backtrace : Option < bool > ,
@@ -279,6 +281,7 @@ impl Config {
279281 set ( & mut config. rust_debug_assertions , rust. debug_assertions ) ;
280282 set ( & mut config. rust_debuginfo , rust. debuginfo ) ;
281283 set ( & mut config. rust_debuginfo_lines , rust. debuginfo_lines ) ;
284+ set ( & mut config. rust_debuginfo_only_std , rust. debuginfo_only_std ) ;
282285 set ( & mut config. rust_optimize , rust. optimize ) ;
283286 set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
284287 set ( & mut config. rust_debuginfo_tests , rust. debuginfo_tests ) ;
@@ -371,6 +374,7 @@ impl Config {
371374 ( "DEBUG_ASSERTIONS" , self . rust_debug_assertions) ,
372375 ( "DEBUGINFO" , self . rust_debuginfo) ,
373376 ( "DEBUGINFO_LINES" , self . rust_debuginfo_lines) ,
377+ ( "DEBUGINFO_ONLY_STD" , self . rust_debuginfo_only_std) ,
374378 ( "JEMALLOC" , self . use_jemalloc) ,
375379 ( "DEBUG_JEMALLOC" , self . debug_jemalloc) ,
376380 ( "RPATH" , self . rust_rpath) ,
0 commit comments