diff options
| author | bors <bors@rust-lang.org> | 2019-09-28 03:38:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-09-28 03:38:48 +0000 |
| commit | f3c8eba643a815d720e7f20699b3dca144c845c4 (patch) | |
| tree | ab96a1cde1bbd285fa578cdd476bc4e30fec5fad /src/libstd/sys | |
| parent | c6f87c2c6e3b34381e5c37567a2b11af1fdf1507 (diff) | |
| parent | 017944c5a7236bcc3ed553d49dd1f43e73733966 (diff) | |
| download | rust-f3c8eba643a815d720e7f20699b3dca144c845c4.tar.gz rust-f3c8eba643a815d720e7f20699b3dca144c845c4.zip | |
Auto merge of #64864 - Centril:rollup-pxz6tw3, r=Centril
Rollup of 14 pull requests Successful merges: - #64703 (Docs: slice elements are equidistant) - #64745 (Include message on tests that should panic but do not) - #64781 (Remove stray references to the old global tcx) - #64794 (Remove unused DepTrackingMap) - #64802 (Account for tail expressions when pointing at return type) - #64809 (hir: Disallow `target_feature` on constants) - #64815 (Fix div_duration() marked as stable by mistake) - #64818 (update rtpSpawn's parameters type(It's prototype has been updated in libc)) - #64830 (Thou shallt not `.abort_if_errors()`) - #64836 (Stabilize map_get_key_value feature) - #64845 (pin.rs: fix links to primitives in documentation) - #64847 (Upgrade env_logger to 0.7) - #64851 (Add mailmap entry for Dustin Bensing by request) - #64859 (check_match: improve diagnostics for `let A = 2;` with `const A: i32 = 3`) Failed merges: r? @ghost
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/vxworks/process/process_vxworks.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/vxworks/process/process_vxworks.rs b/src/libstd/sys/vxworks/process/process_vxworks.rs index beb20aa4816..7446471ae31 100644 --- a/src/libstd/sys/vxworks/process/process_vxworks.rs +++ b/src/libstd/sys/vxworks/process/process_vxworks.rs @@ -54,8 +54,8 @@ impl Command { let ret = libc::rtpSpawn( self.get_argv()[0], // executing program - self.get_argv().as_ptr() as *const _, // argv - *sys::os::environ() as *const *const c_char, + self.get_argv().as_ptr() as *mut *const c_char, // argv + *sys::os::environ() as *mut *const c_char, 100 as c_int, // initial priority thread::min_stack(), // initial stack size. 0, // options |
