Skip to content

Commit

Permalink
Improve visionOS support (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm authored Aug 15, 2024
1 parent b5a2ed6 commit fa0a83d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ impl Config {
let (system_name, system_processor) = match (os.as_str(), arch.as_str()) {
("android", arch) => ("Android", arch),
("dragonfly", arch) => ("DragonFly", arch),
("macos", "x86_64") => ("Darwin", "x86_64"),
("macos", "aarch64") => ("Darwin", "arm64"),
("macos", arch) => ("Darwin", arch),
("freebsd", "x86_64") => ("FreeBSD", "amd64"),
("freebsd", arch) => ("FreeBSD", arch),
("fuchsia", arch) => ("Fuchsia", arch),
Expand All @@ -480,7 +480,11 @@ impl Config {
("openbsd", "x86_64") => ("OpenBSD", "amd64"),
("openbsd", arch) => ("OpenBSD", arch),
("solaris", arch) => ("SunOS", arch),
("tvos", "aarch64") => ("tvOS", "arm64"),
("tvos", arch) => ("tvOS", arch),
("visionos", "aarch64") => ("visionOS", "arm64"),
("visionos", arch) => ("visionOS", arch),
("watchos", "aarch64") => ("watchOS", "arm64"),
("watchos", arch) => ("watchOS", arch),
("windows", "x86_64") => ("Windows", "AMD64"),
("windows", "x86") => ("Windows", "X86"),
Expand Down

0 comments on commit fa0a83d

Please sign in to comment.