LLVM lib unwind fuchsia config

Removing libunwind from Fuchsia target docs
This commit is contained in:
Andrew Pollack 2022-08-09 17:59:10 +00:00
parent 6d3f1beae1
commit 29238f44a0
2 changed files with 5 additions and 7 deletions

View File

@ -1445,7 +1445,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 {

View File

@ -53,12 +53,6 @@ In `config.toml`, add:
```toml
[build]
target = ["<host_platform>", "aarch64-fuchsia", "x86_64-fuchsia"]
[target.x86_64-fuchsia]
llvm-libunwind = "in-tree"
[target.aarch64-fuchsia]
llvm-libunwind = "in-tree"
```
Additionally, the following environment variables must be configured (for