David Smith
2cae953181
Fix a crash when work is interleaved between prepare and submit in IORing
2026-06-04 16:05:28 -07:00
Guillaume Lessard
7c6ad0fc39
Merge pull request #286 from apple/dev/fix-pread-truncation-windows-1.6.0
...
[Windows] fix pread/pwrite truncation
1.6.4
2026-01-13 13:53:28 -08:00
lee
13851a3421
Fix silent buffer size truncation in Windows pread/pwrite
2026-01-13 13:37:44 -08:00
Guillaume Lessard
8f8d80a4fe
Merge pull request #285 from glessard/fix-HRESULT_FACILITY-1.6.0
...
[Windows] Fix HRESULT_FACILITY
2026-01-13 13:33:25 -08:00
Guillaume Lessard
608a75b962
Merge pull request #284 from glessard/workflow-edits-1.6.0-again
...
[ci] re-allow 5.9 and 5.10 for 1.6.x
2026-01-13 12:49:27 -08:00
AZero13
0dbbab4aa1
Fix HRESULT_FACILITY
...
HRESULT_FACILITY is >> 16 & 0x1fff, not <<
2026-01-13 12:41:47 -08:00
Guillaume Lessard
2eb655e0b7
[ci] re-allow 5.9 and 5.10
...
- they were excluded in error.
2026-01-13 12:38:57 -08:00
Guillaume Lessard
07a3f090d7
Merge pull request #280 from glessard/workflow-edits-1.6.0
...
[ci] adjust the pull-request action
2026-01-08 17:06:26 -08:00
Guillaume Lessard
dda2b535b7
[ci] adjust the pull-request action
2026-01-08 16:46:01 -08: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
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
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
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
Guillaume Lessard
d75acaac3a
[ci] expand github actions
2025-07-29 14:26:38 -06:00
Jonathan Flat
5fedb102b5
Fix IORing build for older Linux kernel versions
2025-07-29 14:24:17 -06:00
Guillaume Lessard
960067d31a
Merge pull request #245 from glessard/update-readme-main
...
Update README
2025-07-29 11:06:18 -07:00
Guillaume Lessard
0bb855ac35
Merge pull request #244 from glessard/update-readme-1.6.x
...
Update README
2025-07-29 08:10:23 -07:00
Guillaume Lessard
3f68d42246
Update Readme
2025-07-28 17:42:40 -07:00
Guillaume Lessard
c72c758953
Update Readme
2025-07-28 17:41:23 -07:00
Jonathan Flat
a067a0751a
Merge pull request #242 from jrflat/fix-ioring-static-linux-sdk
...
Fix IORing static Linux SDK
2025-07-28 14:31:18 -06:00
Jonathan Flat
e1191b2ba5
Merge pull request #241 from jrflat/fix-ioring-release-build
...
Fix IORing release build
2025-07-28 14:30:41 -06:00
Jonathan Flat
c7eaf63462
Merge pull request #239 from jrflat/fix-wasi-build
...
Fix WASI build (dirent, umask, errno and open flag tests)
2025-07-28 12:18:40 -06:00
Jonathan Flat
4f5b5fb40d
Fix IORing static Linux SDK
2025-07-28 12:08:37 -06:00
Jonathan Flat
5059730d24
Fix IORing release build
2025-07-28 10:52:35 -06:00
Jonathan Flat
8de80270cb
Fix WASI build (dirent, umask, errno and open flag tests)
2025-07-25 14:03:59 -06:00
David Smith
41daa93a5d
Merge pull request #235 from apple/merge-1.5.0-into-main
...
Merge 1.5.0 into main
1.6.0
2025-07-24 22:18:56 +00:00
David Smith
2adb6b41cc
Merge branch 'release/1.5.0' into merge-1.5.0-into-main
2025-07-24 14:29:18 -07:00
Guillaume Lessard
6ee9a58c36
Merge pull request #234 from azarovalex/fix-api-docs
...
Fix API documentation links in README.md
2025-07-14 15:18:35 -07:00
David Smith
7f9dba80cf
Merge pull request #208 from apple/david/ioring
...
Add io_uring support to System
2025-07-12 00:39:04 +00:00
David Smith
08ed962064
Don't abort the test if we can't open /proc/sys/kernel/io_uring_disabled
2025-07-11 23:05:26 +00:00
David Smith
08ea3343a5
Merge branch 'david/ioring' of https://github.com/apple/swift-system into david/ioring
2025-07-11 22:42:41 +00:00
David Smith
a66176f518
Only run IORing tests if io_uring support is enabled
2025-07-11 22:42:35 +00:00
David Smith
33b58a8110
Fix excludes harder
2025-07-11 13:44:46 -07:00
David Smith
52d9c99a94
Fix excludes
2025-07-11 13:42:49 -07:00