-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fuchsia] Migrate from launchpad to fdio_spawn_etc #51359
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
r? @sfackler I guess? |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Tidy failures, but r=me otherwise. |
|
||
pub fn launchpad_vmo_from_file(filename: *const c_char) -> zx_handle_t; | ||
} | ||
pub const FDIO_SPAWN_SHARE_JOB: u32 = 0x0001; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: We renamed FDIO_SPAWN_SHARE_JOB to FDIO_SPAWN_CLONE_JOB in the C header. Might be worth aligning here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
} | ||
if let Some(fd) = stdio.stderr.fd() { | ||
zx_cvt(launchpad_transfer_fd(launchpad, fd, 2))?; | ||
let transfer_or_clone = |opt_fd, target_fd| if let Some(local_fd) = opt_fd { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@bors r=sfackler |
📌 Commit aa23aba has been approved by |
[fuchsia] Migrate from launchpad to fdio_spawn_etc fdio_spawn_etc is the preferred way of creating processes on Fuchsia now. cc @abarth
[fuchsia] Migrate from launchpad to fdio_spawn_etc fdio_spawn_etc is the preferred way of creating processes on Fuchsia now. cc @abarth
[fuchsia] Migrate from launchpad to fdio_spawn_etc fdio_spawn_etc is the preferred way of creating processes on Fuchsia now. cc @abarth
⌛ Testing commit aa23aba with merge fc3ad51a9e906bf5690d03ff661c4fd6507f724b... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
fdio_spawn_etc is the preferred way of creating processes on Fuchsia now.
@bors r=sfackler |
📌 Commit 0c6cd26 has been approved by |
⌛ Testing commit 0c6cd26 with merge b6b9886a757a40a910d5155f3c5c59b83428da1c... |
💔 Test failed - status-travis |
This comment has been minimized.
This comment has been minimized.
@bors retry |
[fuchsia] Migrate from launchpad to fdio_spawn_etc fdio_spawn_etc is the preferred way of creating processes on Fuchsia now. cc @abarth
☀️ Test successful - status-appveyor, status-travis |
fdio_spawn_etc is the preferred way of creating processes on Fuchsia
now.
cc @abarth