@@ -256,6 +256,7 @@ pub struct Config {
256256 pub rust_split_debuginfo : SplitDebuginfo ,
257257 pub rust_rpath : bool ,
258258 pub rust_strip : bool ,
259+ pub rust_frame_pointers : bool ,
259260 pub rust_stack_protector : Option < String > ,
260261 pub rustc_parallel : bool ,
261262 pub rustc_default_linker : Option < String > ,
@@ -1083,6 +1084,7 @@ define_config! {
10831084 musl_root: Option <String > = "musl-root" ,
10841085 rpath: Option <bool > = "rpath" ,
10851086 strip: Option <bool > = "strip" ,
1087+ frame_pointers: Option <bool > = "frame-pointers" ,
10861088 stack_protector: Option <String > = "stack-protector" ,
10871089 verbose_tests: Option <bool > = "verbose-tests" ,
10881090 optimize_tests: Option <bool > = "optimize-tests" ,
@@ -1561,6 +1563,7 @@ impl Config {
15611563 download_rustc,
15621564 lto,
15631565 validate_mir_opts,
1566+ frame_pointers,
15641567 stack_protector,
15651568 strip,
15661569 lld_mode,
@@ -1609,6 +1612,7 @@ impl Config {
16091612 set ( & mut config. codegen_tests , codegen_tests) ;
16101613 set ( & mut config. rust_rpath , rpath) ;
16111614 set ( & mut config. rust_strip , strip) ;
1615+ set ( & mut config. rust_frame_pointers , frame_pointers) ;
16121616 config. rust_stack_protector = stack_protector;
16131617 set ( & mut config. jemalloc , jemalloc) ;
16141618 set ( & mut config. test_compare_mode , test_compare_mode) ;
0 commit comments