Add LLVM based mingw-w64 targets

This commit is contained in:
Mateusz Mikuła
2022-03-06 15:12:50 +01:00
parent a7d6408b05
commit 60361f2ca3
14 changed files with 175 additions and 18 deletions

View File

@@ -5,6 +5,7 @@
#![feature(nll)]
#![feature(staged_api)]
#![feature(c_unwind)]
#![feature(cfg_target_abi)]
#![cfg_attr(not(target_env = "msvc"), feature(libc))]
cfg_if::cfg_if! {
@@ -85,3 +86,7 @@ extern "C" {}
#[cfg(all(target_vendor = "fortanix", target_env = "sgx"))]
#[link(name = "unwind", kind = "static", modifiers = "-bundle")]
extern "C" {}
#[cfg(all(target_os = "windows", target_env = "gnu", target_abi = "llvm"))]
#[link(name = "unwind", kind = "static", modifiers = "-bundle")]
extern "C" {}