LLVM lib unwind fuchsia config
Removing libunwind from Fuchsia target docs
This commit is contained in:
parent
6d3f1beae1
commit
29238f44a0
2 changed files with 5 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue