Skip to content

Commit 42624ba

Browse files
committed
Use in-tree libunwind by default on Fuchsia
1 parent 9d857d9 commit 42624ba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: src/bootstrap/config.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,11 @@ impl Config {
11801180
.get(&target)
11811181
.and_then(|t| t.llvm_libunwind)
11821182
.or(self.llvm_libunwind_default)
1183-
.unwrap_or(LlvmLibunwind::No)
1183+
.unwrap_or(if target.contains("fuchsia") {
1184+
LlvmLibunwind::InTree
1185+
} else {
1186+
LlvmLibunwind::No
1187+
})
11841188
}
11851189

11861190
pub fn submodules(&self, rust_info: &GitInfo) -> bool {

0 commit comments

Comments
 (0)