Skip to content

Commit 5c1c485

Browse files
committed
Separated fuchsia-specific process stuff into 'process_fuchsia.rs' and refactored out some now-duplicated code into a 'process_common.rs'
1 parent ae09957 commit 5c1c485

File tree

6 files changed

+940
-868
lines changed

6 files changed

+940
-868
lines changed

src/libstd/sys/unix/magenta.rs

-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ pub struct mx_info_process_t {
6767
pub rec: mx_record_process_t,
6868
}
6969

70-
#[link(name = "magenta")]
7170
extern {
7271
pub fn mx_handle_close(handle: mx_handle_t) -> mx_status_t;
7372

@@ -89,7 +88,6 @@ pub fn mx_hnd_info(hnd_type: u32, arg: u32) -> u32 {
8988
(hnd_type & 0xFFFF) | ((arg & 0xFFFF) << 16)
9089
}
9190

92-
#[link(name="mxio")]
9391
extern {
9492
pub fn mxio_get_startup_handle(id: u32) -> mx_handle_t;
9593
}
@@ -123,7 +121,6 @@ pub struct launchpad_t {
123121
loader_message: bool,
124122
}
125123

126-
#[link(name="launchpad")]
127124
extern {
128125
pub fn launchpad_create(job: mx_handle_t, name: *const c_char,
129126
lp: *mut *mut launchpad_t) -> mx_status_t;

0 commit comments

Comments
 (0)