Skip to content

Commit 8ac1305

Browse files
sadmac7000Rebase bot
authored andcommitted
[rust-3p] Make async-io a fork
We want to add smol-rs/async-io#79 to our distribution of async-io, so move it to forks. Change-Id: Iccdab4f4a6aed7b773dbe200f07ce4e4f0bc9a05 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/871499 Reviewed-by: Steven Grady <slgrady@google.com> Reviewed-by: Adam Perry <adamperry@google.com> Fuchsia-Auto-Submit: Casey Dahlin <sadmac@google.com> Commit-Queue: Casey Dahlin <sadmac@google.com>
1 parent 41572a9 commit 8ac1305

23 files changed

+19
-3
lines changed

third_party/rust_crates/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ rust_library("async-fs-v1_6_0") {
15281528

15291529
rust_library("async-io-v1_12_0") {
15301530
crate_name = "async_io"
1531-
crate_root = "//third_party/rust_crates/vendor/async-io-1.12.0/src/lib.rs"
1531+
crate_root = "//third_party/rust_crates/forks/async-io/src/lib.rs"
15321532
output_name = "async_io-8cea39e881d5ae1e"
15331533
configs -= [ "//build/config/rust:2018_idioms" ]
15341534

third_party/rust_crates/Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

third_party/rust_crates/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ windows = { path = "empty/windows" }
341341
windows-sys = { path = "empty/windows-sys" }
342342

343343
### Forks: vendored crates whose code doesn't match the upstream version
344+
async-io = { path = "forks/async-io" }
344345
fatfs = { path = "forks/fatfs" }
345346
fuse3 = { path = "forks/fuse3" }
346347
hound = { path = "forks/hound" }
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Name: async-io
2+
License File: LICENSE-APACHE
3+
Description:
4+
5+
async-io is used only on the host side to provide async usage of *nix IO primitives.
6+
7+
This is mainline, but will soon incorporate the patch from
8+
https://github.com/smol-rs/async-io/pull/79/commits/71cd97d34ed8c652074b61ed4093b475e2fb4fdd
9+
.
10+
11+
This will be async-io mainline (~1.12.0) with a patch.
12+
13+
There is nothing else special about this release the fork is cut from mainline.
14+
15+
This fork can be removed if the pull request is rolled into mainline and a
16+
release is cut, but upstream is in a semi-abandoned state so this may not happen
17+
soon.

0 commit comments

Comments
 (0)