mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
LLVM lib unwind fuchsia config
Removing libunwind from Fuchsia target docs
This commit is contained in:
parent
6d3f1beae1
commit
29238f44a0
@ -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…
Reference in New Issue
Block a user