| @@ -550,6 +550,10 @@ pub fn std_cargo(builder: &Builder<'_>, target: TargetSelection, stage: u32, car |
|
|
| 550 |
550 |
cargo.rustflag("-Cforce-unwind-tables=yes"); |
| 551 |
551 |
} |
| 552 |
552 |
|
|
553 |
+// Enable frame pointers by default for the library. Note that they are still controlled by a |
|
554 |
+// separate setting for the compiler. |
|
555 |
+ cargo.rustflag("-Cforce-frame-pointers=yes"); |
|
556 |
+ |
| 553 |
557 |
let html_root = |
| 554 |
558 |
format!("-Zcrate-attr=doc(html_root_url=\"{}/\")", builder.doc_rust_lang_org_channel(),); |
| 555 |
559 |
cargo.rustflag(&html_root); |