openharmony_ci
b8bb19bca5
!2 README.OpenSource 中License信息整改
...
Merge pull request !2 from peizhe/master
OpenHarmony-v4.0-Beta1
OpenHarmony-v4.0-Beta2
2023-05-05 02:25:58 +00:00
peizhe
d365113e08
README.OpenSource 中License信息整改
...
Signed-off-by: peizhe <zhaipeizhe@huawei.com >
2023-05-04 09:42:59 +08:00
openharmony_ci
08c7e1f375
!1 [mio]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
...
Merge pull request !1 from peizhe/master
2023-04-19 01:28:59 +00:00
peizhe
ed2aa7b773
Add GN Build Files and Custom Modifications
...
Signed-off-by: peizhe <472708703@qq.com >
2023-04-18 17:13:46 +08:00
Thomas de Zeeuw
00fe87d55e
Release v0.8.6
github.com/tokio-rs/mio/refs/tags/v0.8.6
2023-02-14 12:19:34 +01:00
Thomas de Zeeuw
b3acb4133c
Add Interest::PRIORITY
...
To trigger Event::is_priority on Linux and Android.
In the future we might want to include EV_OOBAND for kqueue, but that
seems to be Apple only (FreeBSD and OpenBSD don't implement it at
least).
Co-authored-by: Lars Pöschel <lars.poeschel@edag.com >
2023-02-14 11:46:03 +01:00
Thomas de Zeeuw
512744772f
Use consistent cfg attributes
2023-02-13 19:20:11 +01:00
Thomas de Zeeuw
0c24bc2305
Remove outdated doc link
2023-02-07 16:19:21 +01:00
Constantin Nickel
20ab0b7108
Replace unmaintained/outdated GitHub Actions
...
The toolchain is now installed `dtolnay/rust-toolchain`.
2023-02-06 14:57:49 +01:00
Alex Touchet
1dc0b2a0e4
Make spelling of "I/O" consistent
2023-02-05 19:34:11 +01:00
Thomas de Zeeuw
f55840a60a
Drop support for v0.6
2023-02-04 18:19:24 +01:00
Thomas de Zeeuw
68777e2e66
Enable testing with sanitizers on the CI
2023-02-04 18:19:10 +01:00
Thomas de Zeeuw
4d78dc35da
Add test_sanitizer Makefile target
...
Runs the tests with a sanitizer enabled.
2023-02-04 18:19:10 +01:00
Thomas de Zeeuw
ddb830bf73
Disable uninlined-format-args Clippy lint
...
Our MSRV too low to support this.
2023-02-04 18:18:55 +01:00
Taiki Endo
08250c06f2
Update windows-sys to 0.45
2023-01-21 13:42:01 +01:00
Tobias Bucher
3fce6026fa
Again less truncating for timeout values in Poll::poll
...
Round up submillisecond wait times to the next millisecond on platforms
where submillisecond sleep times aren't supported. This makes the
behavior actually match the documentation.
See also #420 , where this was implemented for the first time.
2022-12-27 11:54:43 +00:00
Alex
a0dd640298
build: harden ci.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2022-12-13 12:27:53 +00:00
Jiri Andras
4e66fb703e
Fix docs typo in TcpStream connect
2022-12-07 10:10:32 +01:00
Alan Somers
919bae6832
Update FreeBSD CI environment to 12.4
...
12.3 will soon be EoL
2022-12-06 09:49:07 +00:00
Thomas de Zeeuw
fda0b947b1
Fix Clippy warnings
...
Don't agree with the `&path` -> `path`, but it's fine.
2022-11-30 16:07:41 +00:00
Thomas de Zeeuw
a60531a94b
Fix potential socket leak in udp::bind on Windows
2022-11-30 16:07:41 +00:00
Thomas de Zeeuw
02a773214d
Fix potential fd leak in new_socket on Windows
2022-11-30 16:07:41 +00:00
Thomas de Zeeuw
b7a09f21a9
Initialise the Window network stack in one call site
...
Do it in new_socket so that the higher levels don't have to worry about
it.
2022-11-30 16:07:41 +00:00
Thomas de Zeeuw
427ab37712
Make fd handling code consistent for Unix
...
Now all the fd creating code follows the following pattern.
let raw_fd = create_fd();
let managed_fd = wrap(raw_fd);
// Additional system calls
return managed_fd
2022-11-30 16:07:41 +00:00
Thomas de Zeeuw
7e5c50c283
Fix possible fd leak in kqueue creation
2022-11-30 16:07:41 +00:00
Thomas de Zeeuw
6244df9de1
Fix possible fd leak in new_socket on Apple
2022-11-30 16:07:41 +00:00
Thomas de Zeeuw
06efaeb48f
Don't leak fds on error in UDS on Unix
...
We do this by simply creating a fd-managing type, e.g. UnixDatagram,
from the fd once it's created.
Also first tries to parse the path as that can fail without doing a
system call.
2022-11-30 16:07:41 +00:00
Anthony Ramine
db6dc6c66e
Release v0.8.5
...
Co-authored-by: Thomas de Zeeuw <thomasdezeeuw@gmail.com >
2022-10-24 17:15:52 +00:00
Alexis (Poliorcetics) Bourget
618ac9a378
deps: update to windows-sys 0.42.0
2022-10-22 19:29:48 +00:00
Thomas de Zeeuw
35aa5580a5
Fix clippy warnings ( #1617 )
2022-09-05 11:05:17 +02:00
Russell Haley
c1510f99a1
Round nonzero <1ms timeouts to 1ms for Windows too
2022-09-03 15:18:34 +00:00
yump
436aef4b26
Round up when converting timeout to ms for epoll_wait()
2022-09-03 14:34:30 +00:00
Thomas de Zeeuw
0b344747e7
Document the current Poll::poll timeout behaviour
2022-08-11 11:00:48 +00:00
Alex Touchet
110801e474
Switch to GitHub Actions badge ( #1601 )
2022-08-05 18:56:07 -05:00
Thomas de Zeeuw
7b8cb18b94
Remove Azure pipeline CI
...
Moved to GitHub Actions.
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
83fb2e3faf
Add Passed job to CI
...
This will be the only job required to succeed to merge a pr.
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
17b0ec4455
Run CI on v0.6.x and v0.7.x branches
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
4ad336d4e2
Add nightly check to CI
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
77eb2c805d
Add MSRV check to CI
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
859fed6288
Run tests in release profile
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
1abc6ddf30
Compile Cargo hack using debug profile
...
The performance of it doesn't really matter much.
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
78068caec2
Install Cargo-hack in CheckTargets
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
c63cc7093b
Switch to nightly compiler for MinimalVersions
...
Required due to the use of -Zminimal-versions.
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
16b5532ce3
Add more targets to Makefile
...
Adds:
* arm-linux-androideabi
* i686-unknown-linux-gnu
* x86_64-apple-ios
* x86_64-unknown-redox
Since we use this in GitHub Actions we'll need to match the targets of
Azure CI.
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
267a404713
Add GitHub Actions
...
Should move over all of the Azure CI checks.
2022-07-19 21:45:35 +00:00
Thomas de Zeeuw
d360cc5e7b
Drop support for Wine
2022-07-19 08:46:49 +00:00
Thomas de Zeeuw
db3f2505af
Fix epoll O_CLOEXEC usage
...
Switched O_CLOEXEC and EPOLL_CLOEXEC around in the last commit.
2022-07-18 20:23:29 +00:00
Thomas de Zeeuw
c4e4e0cef8
Cleanup epoll_create fallback
...
Now allows the fallback on all platforms, if we doing one why not all?
Also properly closes the file descriptor if the fcntl call fails.
2022-07-17 21:44:22 +00:00
Thomas de Zeeuw
6800c2f7fb
Remove quote from TARGETS
...
Not required, Make handles this for us.
2022-07-17 21:44:22 +00:00
link2xt
43aa8c5589
Use raw system call for epoll_create1() on Android
...
Using epoll_create() as a fallback.
Fix #1473 .
2022-07-17 19:44:35 +00:00