Skip to content

Commit 18db93d

Browse files
committed
Revert "Bump target minimum macOS version from 10.13.0 to 10.13.4"
This reverts commit 4c7b4a5.
1 parent 5a862b3 commit 18db93d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cpython-unix/targets.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ x86_64-apple-darwin:
566566
target_cflags:
567567
- '-arch'
568568
- 'x86_64'
569-
- '-mmacosx-version-min=10.13.4'
569+
- '-mmacosx-version-min=10.13'
570570
# Suppress extremely verbose warnings we see with LLVM 10.
571571
- '-Wno-nullability-completeness'
572572
- '-Wno-expansion-to-defined'
@@ -581,7 +581,7 @@ x86_64-apple-darwin:
581581
target_ldflags:
582582
- '-arch'
583583
- 'x86_64'
584-
- '-mmacosx-version-min=10.13.4'
584+
- '-mmacosx-version-min=10.13'
585585
needs:
586586
- autoconf
587587
- bzip2

src/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ fn validate_macho<Mach: MachHeader<Endian = Endianness>>(
11001100
bytes: &[u8],
11011101
) -> Result<()> {
11021102
let advertised_target_version =
1103-
semver::Version::parse(&format!("{}", advertised_target_version))?;
1103+
semver::Version::parse(&format!("{}.0", advertised_target_version))?;
11041104
let advertised_sdk_version = semver::Version::parse(&format!("{}.0", advertised_sdk_version))?;
11051105

11061106
let endian = header.endian()?;

0 commit comments

Comments
 (0)