Skip to content

Commit

Permalink
Parse the deployment target on all Apple target triples
Browse files Browse the repository at this point in the history
Also allow it to be optional, or partially specified.
  • Loading branch information
madsmtm committed Oct 2, 2024
1 parent 7c80d45 commit 4d18918
Show file tree
Hide file tree
Showing 3 changed files with 199 additions and 55 deletions.
2 changes: 1 addition & 1 deletion src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mod tests {
#[test]
fn test_macos() {
use super::*;
assert_eq!(OperatingSystem::host(), OperatingSystem::Darwin);
assert_eq!(OperatingSystem::host(), OperatingSystem::Darwin(None));
}

#[cfg(windows)]
Expand Down
Loading

0 comments on commit 4d18918

Please sign in to comment.