Skip to content

Commit fa5c2f3

Browse files
committed
Auto merge of #64983 - tmandry:rollup-28hyqet, r=tmandry
[BETA] Rollup of 2 pull requests Successful merges: - #64956 ([BETA] Update cargo) - #64982 ([BETA] Backport changes) Failed merges: r? @ghost
2 parents 5752b63 + 6d9465a commit fa5c2f3

File tree

6 files changed

+9
-311
lines changed

6 files changed

+9
-311
lines changed

RELEASES.md

-4
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ Stabilized APIs
4747
- [`<*mut T>::cast`]
4848
- [`Duration::as_secs_f32`]
4949
- [`Duration::as_secs_f64`]
50-
- [`Duration::div_duration_f32`]
51-
- [`Duration::div_duration_f64`]
5250
- [`Duration::div_f32`]
5351
- [`Duration::div_f64`]
5452
- [`Duration::from_secs_f32`]
@@ -100,8 +98,6 @@ Compatibility Notes
10098
[`<*mut T>::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast
10199
[`Duration::as_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f32
102100
[`Duration::as_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f64
103-
[`Duration::div_duration_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f32
104-
[`Duration::div_duration_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f64
105101
[`Duration::div_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f32
106102
[`Duration::div_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f64
107103
[`Duration::from_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f32

src/ci/docker/dist-x86_64-linux/build-curl.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
set -ex
44
source shared.sh
55

6-
VERSION=7.51.0
6+
VERSION=7.66.0
77

8-
curl http://cool.haxx.se/download/curl-$VERSION.tar.bz2 | tar xjf -
8+
curl https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc/curl-$VERSION.tar.xz \
9+
| xz --decompress \
10+
| tar xf -
911

1012
mkdir curl-build
1113
cd curl-build

src/libstd/sys/vxworks/process/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ pub use crate::ffi::OsString as EnvKey;
55
mod process_common;
66
#[path = "process_vxworks.rs"]
77
mod process_inner;
8-
mod rtp;

src/libstd/sys/vxworks/process/process_vxworks.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use libc::{self, c_int, c_char};
33
use libc::{RTP_ID};
44
use crate::sys;
55
use crate::sys::cvt;
6-
use crate::sys::process::rtp;
76
use crate::sys::process::process_common::*;
87
use crate::sys_common::thread;
98

@@ -53,10 +52,10 @@ impl Command {
5352
t!(cvt(libc::chdir(cwd.as_ptr())));
5453
}
5554

56-
let ret = rtp::rtpSpawn(
55+
let ret = libc::rtpSpawn(
5756
self.get_argv()[0], // executing program
58-
self.get_argv().as_ptr() as *const _, // argv
59-
*sys::os::environ() as *const *const c_char,
57+
self.get_argv().as_ptr() as *mut *const c_char, // argv
58+
*sys::os::environ() as *mut *const c_char,
6059
100 as c_int, // initial priority
6160
thread::min_stack(), // initial stack size.
6261
0, // options
@@ -78,7 +77,7 @@ impl Command {
7877
libc::close(orig_stderr);
7978
}
8079

81-
if ret != rtp::RTP_ID_ERROR {
80+
if ret != libc::RTP_ID_ERROR {
8281
p.pid = ret;
8382
Ok((p, ours))
8483
} else {

src/libstd/sys/vxworks/process/rtp.rs

-298
This file was deleted.

0 commit comments

Comments
 (0)