Add cygwin target.
Co-authored-by: Ookiineko <chiisaineko@protonmail.com> Co-authored-by: nora <48135649+Noratrieb@users.noreply.github.com> Co-authored-by: Jubilee <workingjubilee@gmail.com>
This commit is contained in:
@@ -2020,6 +2020,7 @@ supported_targets! {
|
||||
("riscv64imac-unknown-nuttx-elf", riscv64imac_unknown_nuttx_elf),
|
||||
("riscv64gc-unknown-nuttx-elf", riscv64gc_unknown_nuttx_elf),
|
||||
|
||||
("x86_64-pc-cygwin", x86_64_pc_cygwin),
|
||||
}
|
||||
|
||||
/// Cow-Vec-Str: Cow<'static, [Cow<'static, str>]>
|
||||
@@ -3001,8 +3002,8 @@ impl Target {
|
||||
);
|
||||
check_eq!(
|
||||
self.is_like_windows,
|
||||
self.os == "windows" || self.os == "uefi",
|
||||
"`is_like_windows` must be set if and only if `os` is `windows` or `uefi`"
|
||||
self.os == "windows" || self.os == "uefi" || self.os == "cygwin",
|
||||
"`is_like_windows` must be set if and only if `os` is `windows`, `uefi` or `cygwin`"
|
||||
);
|
||||
check_eq!(
|
||||
self.is_like_wasm,
|
||||
|
||||
Reference in New Issue
Block a user