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
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
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
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
David Smith
b93169b8e2
Work around windows bugs harder
2025-07-11 20:37:23 +00:00
David Smith
9a046498d0
Try adding newlines to the ends of files to work around a compiler bug
2025-07-11 19:23:24 +00:00
David Smith
a56bcda3c1
Un-combine conditionals but flip their order. This should fix the Windows build with older compilers
2025-07-11 19:07:04 +00:00
David Smith
f7c05e1fb8
Combine platform conditionals
2025-07-11 18:53:55 +00:00
David Smith
7fc787e6ba
Move IORing files to a subdirectory
2025-07-11 17:00:32 +00:00
David Smith
779c9ac628
Fix misuse of _CANCEL_ANY, and add support for non-redicated cancellation
2025-07-11 16:50:58 +00:00