Skip to content

Commit

Permalink
Use in-tree libunwind by default on Fuchsia
Browse files Browse the repository at this point in the history
  • Loading branch information
tmandry committed Mar 10, 2022
1 parent 9d857d9 commit 42624ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,11 @@ impl Config {
.get(&target)
.and_then(|t| t.llvm_libunwind)
.or(self.llvm_libunwind_default)
.unwrap_or(LlvmLibunwind::No)
.unwrap_or(if target.contains("fuchsia") {
LlvmLibunwind::InTree
} else {
LlvmLibunwind::No
})
}

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

0 comments on commit 42624ba

Please sign in to comment.