Jonathan Flat
87f8e49ba7
Assign rawValue instead of self
2025-10-30 14:11:45 -06:00
Jonathan Flat
c2e385e849
Remove commented-out code pt. 2
2025-10-29 12:01:13 -06:00
Jonathan Flat
4911642226
Add availability, fix CInterop availability issue on old Darwin platforms
2025-10-29 12:01:01 -06:00
Jonathan Flat
40e1deb663
Consolidate internal Stat functions
2025-10-29 11:47:32 -06:00
Jonathan Flat
eee0145671
Standardize on "file system"
2025-10-28 22:52:34 -06:00
Jonathan Flat
90dba1dc68
AT_SYMLINK_FOLLOW -> AT_SYMLINK_NOFOLLOW
2025-10-28 22:31:34 -06:00
Jonathan Flat
501bb7d052
Remove commented-out code for future directions
2025-10-28 22:30:47 -06:00
Jonathan Flat
98712f67f2
Remove _GNU_SOURCE define and AT_EMPTY_PATH for now
2025-10-06 13:32:29 -06:00
Jonathan Flat
2f5b12b854
Updates for proposal v3
2025-09-29 12:02:59 -06:00
Jonathan Flat
905f9f842d
Expose C timespec properties until UTCClock can be used
2025-09-29 11:34:04 -06:00
Jonathan Flat
a07696ace3
Fix AT_RESOLVE_BENEATH availability
2025-09-29 11:34:03 -06:00
Jonathan Flat
57d515e1d0
Stat implementation
2025-09-29 11:34:02 -06:00
Guillaume Lessard
f477389569
Merge pull request #264 from apple/adjust-toolchain-support
...
Adjust toolchain support
2025-09-19 09:06:44 -07:00
Guillaume Lessard
bc4e6e3bea
Use Swift 5 language mode
...
`MachPort` is fine with Swift 6.1 and up, but does not compile with Swift 6.0’s Swift 6 language mode.
`import CSystem` is a problem in the Linux version (inconsistently imported as implementation-only.)
The Wasm implementation seems not concurrency-safe.
2025-09-18 17:52:01 -07:00
Guillaume Lessard
d8dd95176b
adjust pull-request workflow
2025-09-18 17:30:36 -07:00
Guillaume Lessard
2ae0c650be
Make shared state constant as intended.
2025-09-18 17:01:26 -07:00
Guillaume Lessard
478da393fa
Use new names for Swift 6 mode
2025-09-18 16:59:28 -07:00
Guillaume Lessard
80587df07f
Require Swift 6.0
2025-09-18 16:58:21 -07:00
Guillaume Lessard
4bbe3f3eeb
Merge pull request #261 from apple/release/1.6.0
...
Merge back tag 1.6.3
2025-09-18 11:41:27 -07:00
Guillaume Lessard
9ddc89964b
Merge pull request #263 from apple/workflow-edits-1.6.0
...
[1.6.0] Apply GitHub workflow edits
2025-09-18 11:14:47 -07:00
Guillaume Lessard
18a52c4729
[workflows] declare 2D exclusions
2025-09-18 10:47:41 -07:00
Guillaume Lessard
1c1ad1d3f4
[workflows] change ubuntus to test against
2025-09-18 10:09:02 -07:00
Guillaume Lessard
2fdd948a28
Merge pull request #262 from glessard/workflow-edits
...
[workflows] change ubuntus to test against
2025-09-18 09:47:02 -07:00
Guillaume Lessard
227ebbbe2d
[workflows] declare 2D exclusions
2025-09-18 08:00:59 -07:00
Guillaume Lessard
b6bd66889b
[workflows] change ubuntus to test against
2025-09-17 15:46:21 -07:00
Guillaume Lessard
395a77f0aa
Merge pull request #260 from apple/eng/PR-duplicate-as-release/1.6.0
...
[1.6] Fix: FileDescriptor.duplicate(as:) returns an invalid file descriptor on Windows
1.6.3
2025-09-15 10:31:53 -07:00
Jake Petroules
b1618475cc
[1.6] Fix: FileDescriptor.duplicate(as:) returns an invalid file descriptor on Windows
...
FileDescriptor.duplicate(as:) is backed by dup2 on Unix, and _dup2 on Windows.
On Unix, dup2 returns its second argument. On Windows, _dup2 instead returns
0 on success and -1 on error. This results in the newly returned FileDescriptor
object always containing a '0' file descriptor rather than the newly created
file descriptor, in violation of the documented behavior.
Account for the platform difference in the syscall wrapper to fix this.
Closes #192
(cherry picked from commit b2711a872a )
2025-09-15 10:16:15 -07:00
Jake Petroules
b2711a872a
Fix: FileDescriptor.duplicate(as:) returns an invalid file descriptor on Windows
...
FileDescriptor.duplicate(as:) is backed by dup2 on Unix, and _dup2 on Windows.
On Unix, dup2 returns its second argument. On Windows, _dup2 instead returns
0 on success and -1 on error. This results in the newly returned FileDescriptor
object always containing a '0' file descriptor rather than the newly created
file descriptor, in violation of the documented behavior.
Account for the platform difference in the syscall wrapper to fix this.
Closes #192
2025-09-12 22:11:45 -07:00
Guillaume Lessard
b6a7776360
Merge pull request #255 from lamtrinhdev/Fix_typo_issues
...
Fix spelling errors in some comments.
2025-08-12 15:00:43 -07:00
LamTrinh.Dev
0ea6743c17
Fix spelling errors in some comments.
2025-08-11 00:56:26 +07:00
Guillaume Lessard
890830fff1
Merge pull request #254 from jrflat/fix-generic-int-typedefs-1.6.0
1.6.2
2025-08-03 17:11:41 -07:00
Jonathan Flat
a5f13c77b8
Fix typedef errors on platforms with _ASM_GENERIC_INT headers
2025-08-03 11:24:24 -06:00
Jonathan Flat
086219bf62
Merge pull request #253 from jrflat/static-and-wasm-sdk-builds
...
[CI] Enable Linux static SDK and Wasm SDK builds
2025-08-01 16:21:21 -06:00
Jonathan Flat
11d9d4a78e
[CI] Enable Linux static SDK and Wasm SDK builds
2025-08-01 14:51:27 -06:00
Jonathan Flat
0c11feadd4
Merge pull request #252 from jrflat/release-mode-testing
...
Support testing in release mode
2025-07-31 10:11:32 -06:00
Guillaume Lessard
2410aed341
Merge pull request #251 from apple/release/1.6.0
...
Merge 1.6.x into main
2025-07-31 09:05:02 -07:00
Jonathan Flat
9ec41a667c
Support testing in release mode
2025-07-30 18:47:26 -06:00
Guillaume Lessard
9226c72b3a
Merge pull request #232 from apple/availability-macros
...
Replace bespoke availability system
2025-07-30 17:10:32 -07:00
Guillaume Lessard
d9d138a88e
Merge pull request #250 from glessard/five-nine-required
...
[gardening] Swift 5.9 is required
2025-07-30 16:08:07 -07:00
Guillaume Lessard
13ad3fe4ac
Update copyright dates
2025-07-30 14:29:52 -07:00
Guillaume Lessard
2610d66a52
This package requires Swift 5.9
...
Accordingly, these conditions would always be true
2025-07-30 14:29:52 -07:00
Guillaume Lessard
e0d9cb0638
Merge pull request #249 from glessard/feature-flag-condition
...
Gate 6.2 features by feature flag
2025-07-30 09:46:08 -07:00
Guillaume Lessard
c4fef8b59a
Disable non-escapable API by feature flag
2025-07-30 09:21:05 -07:00
Rauhul Varma
f97a80426c
update readme
2025-07-30 08:53:33 -07:00
Rauhul Varma
e5198c2b2d
disable 16.0 and 16.1
2025-07-30 08:50:14 -07:00
Rauhul Varma
9a1530813e
Replace bespoke availability system
...
Removes the script based availability system with the experimental
availability macro feature.
2025-07-30 08:40:08 -07:00
Guillaume Lessard
b63d24d465
Merge pull request #248 from glessard/updates-1.6.1
...
Updates for 1.6.1 tag
1.6.1
2025-07-29 23:11:20 -07:00
Guillaume Lessard
a717516d69
Merge branch 'main' into updates-1.6.1
2025-07-29 18:50:55 -07:00
Jonathan Flat
d89ca1d511
Merge pull request #247 from jrflat/ioring-for-older-kernels
...
Fix IORing build for older Linux kernels
2025-07-29 19:38:33 -06:00
Jonathan Flat
d32abd8c6e
Fix warning: will never be executed
2025-07-29 15:35:30 -06:00