Skip to content

Commit

Permalink
Add more keywords for matching on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Mar 25, 2024
1 parent b11a549 commit c76b0cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/description/arch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ use super::OS;
#[rustfmt::skip]
const ARCH_KEYWORDS: [(Arch, &[&str]); 4] = [
(Arch::Arm64, &["aarch64", "arm64", "armv9"]),
(Arch::X64, &["x86-64", "x86_64", "x64", "amd64", "win64"]),
(Arch::X64, &["x86-64", "x86_64", "x64", "amd64", "win64", "win-x64"]),
(Arch::Arm32, &["arm", "arm32", "armv7"]),
(Arch::X86, &["x86", "i686", "i386", "win32"]),
(Arch::X86, &["x86", "i686", "i386", "win32", "win-x86"]),
];

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/description/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::env::consts::OS as CURRENT_OS;

#[rustfmt::skip]
const OS_KEYWORDS: [(OS, &[&str]); 3] = [
(OS::Windows, &["windows", "win32", "win64"]),
(OS::Windows, &["windows", "win32", "win64", "win-x86", "win-x64"]),
(OS::MacOS, &["macos", "osx", "darwin"]),
(OS::Linux, &["linux", "ubuntu", "debian"]),
];
Expand Down

0 comments on commit c76b0cd

Please sign in to comment.