Skip to content

Commit d1ba3ce

Browse files
committed
Fix zlib-ng compilation for iOS
1 parent c66740c commit d1ba3ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ jobs:
102102
- name: build
103103
run: cargo build -vv --target ${{ matrix.platform.target }}
104104
working-directory: test-crate
105+
env:
106+
# If this isn't specified the default is iOS 7, for which zlib-ng will not compile due to the lack of thread-local storage.
107+
IPHONEOS_DEPLOYMENT_TARGET: 16

0 commit comments

Comments
 (0)