@@ -256,6 +256,7 @@ pub struct Config {
256
256
pub rust_split_debuginfo : SplitDebuginfo ,
257
257
pub rust_rpath : bool ,
258
258
pub rust_strip : bool ,
259
+ pub rust_frame_pointers : bool ,
259
260
pub rust_stack_protector : Option < String > ,
260
261
pub rustc_parallel : bool ,
261
262
pub rustc_default_linker : Option < String > ,
@@ -1083,6 +1084,7 @@ define_config! {
1083
1084
musl_root: Option <String > = "musl-root" ,
1084
1085
rpath: Option <bool > = "rpath" ,
1085
1086
strip: Option <bool > = "strip" ,
1087
+ frame_pointers: Option <bool > = "frame-pointers" ,
1086
1088
stack_protector: Option <String > = "stack-protector" ,
1087
1089
verbose_tests: Option <bool > = "verbose-tests" ,
1088
1090
optimize_tests: Option <bool > = "optimize-tests" ,
@@ -1561,6 +1563,7 @@ impl Config {
1561
1563
download_rustc,
1562
1564
lto,
1563
1565
validate_mir_opts,
1566
+ frame_pointers,
1564
1567
stack_protector,
1565
1568
strip,
1566
1569
lld_mode,
@@ -1609,6 +1612,7 @@ impl Config {
1609
1612
set ( & mut config. codegen_tests , codegen_tests) ;
1610
1613
set ( & mut config. rust_rpath , rpath) ;
1611
1614
set ( & mut config. rust_strip , strip) ;
1615
+ set ( & mut config. rust_frame_pointers , frame_pointers) ;
1612
1616
config. rust_stack_protector = stack_protector;
1613
1617
set ( & mut config. jemalloc , jemalloc) ;
1614
1618
set ( & mut config. test_compare_mode , test_compare_mode) ;
0 commit comments