@@ -61,6 +61,7 @@ pub struct Config {
61
61
pub rust_debug_assertions : bool ,
62
62
pub rust_debuginfo : bool ,
63
63
pub rust_debuginfo_lines : bool ,
64
+ pub rust_debuginfo_only_std : bool ,
64
65
pub rust_rpath : bool ,
65
66
pub rustc_default_linker : Option < String > ,
66
67
pub rustc_default_ar : Option < String > ,
@@ -167,6 +168,7 @@ struct Rust {
167
168
debug_assertions : Option < bool > ,
168
169
debuginfo : Option < bool > ,
169
170
debuginfo_lines : Option < bool > ,
171
+ debuginfo_only_std : Option < bool > ,
170
172
debug_jemalloc : Option < bool > ,
171
173
use_jemalloc : Option < bool > ,
172
174
backtrace : Option < bool > ,
@@ -279,6 +281,7 @@ impl Config {
279
281
set ( & mut config. rust_debug_assertions , rust. debug_assertions ) ;
280
282
set ( & mut config. rust_debuginfo , rust. debuginfo ) ;
281
283
set ( & mut config. rust_debuginfo_lines , rust. debuginfo_lines ) ;
284
+ set ( & mut config. rust_debuginfo_only_std , rust. debuginfo_only_std ) ;
282
285
set ( & mut config. rust_optimize , rust. optimize ) ;
283
286
set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
284
287
set ( & mut config. rust_debuginfo_tests , rust. debuginfo_tests ) ;
@@ -371,6 +374,7 @@ impl Config {
371
374
( "DEBUG_ASSERTIONS" , self . rust_debug_assertions) ,
372
375
( "DEBUGINFO" , self . rust_debuginfo) ,
373
376
( "DEBUGINFO_LINES" , self . rust_debuginfo_lines) ,
377
+ ( "DEBUGINFO_ONLY_STD" , self . rust_debuginfo_only_std) ,
374
378
( "JEMALLOC" , self . use_jemalloc) ,
375
379
( "DEBUG_JEMALLOC" , self . debug_jemalloc) ,
376
380
( "RPATH" , self . rust_rpath) ,
0 commit comments