Skip to content

Commit

Permalink
Bump target minimum macOS version from 10.13.0 to 10.13.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 5, 2024
1 parent f442d4d commit 4c7b4a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpython-unix/targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ x86_64-apple-darwin:
target_cflags:
- '-arch'
- 'x86_64'
- '-mmacosx-version-min=10.13'
- '-mmacosx-version-min=10.13.4'
# Suppress extremely verbose warnings we see with LLVM 10.
- '-Wno-nullability-completeness'
- '-Wno-expansion-to-defined'
Expand All @@ -581,7 +581,7 @@ x86_64-apple-darwin:
target_ldflags:
- '-arch'
- 'x86_64'
- '-mmacosx-version-min=10.13'
- '-mmacosx-version-min=10.13.4'
needs:
- autoconf
- bzip2
Expand Down
2 changes: 1 addition & 1 deletion src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ fn validate_macho<Mach: MachHeader<Endian = Endianness>>(
bytes: &[u8],
) -> Result<()> {
let advertised_target_version =
semver::Version::parse(&format!("{}.0", advertised_target_version))?;
semver::Version::parse(&format!("{}", advertised_target_version))?;
let advertised_sdk_version = semver::Version::parse(&format!("{}.0", advertised_sdk_version))?;

let endian = header.endian()?;
Expand Down

0 comments on commit 4c7b4a5

Please sign in to comment.