mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
chore: bump to newer nightly (#1284)
This commit is contained in:
+4
-1
@@ -13,10 +13,13 @@ task:
|
||||
- pkg install -y curl
|
||||
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||
# TODO: switch back to nightly
|
||||
- sh rustup.sh -y --default-toolchain nightly-2019-06-10
|
||||
- sh rustup.sh -y --default-toolchain nightly-2019-07-09
|
||||
- . $HOME/.cargo/env
|
||||
- rustup target add i686-unknown-freebsd
|
||||
- |
|
||||
echo "~~~~ rustc --version ~~~~"
|
||||
rustc --version
|
||||
|
||||
# Remove any existing patch statements
|
||||
mv Cargo.toml Cargo.toml.bck
|
||||
sed -n '/\[patch.crates-io\]/q;p' Cargo.toml.bck > Cargo.toml
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ trigger: ["master", "std-future"]
|
||||
pr: ["master", "std-future"]
|
||||
|
||||
variables:
|
||||
nightly: nightly-2019-06-10
|
||||
nightly: nightly-2019-07-09
|
||||
|
||||
jobs:
|
||||
# Check formatting
|
||||
|
||||
@@ -362,6 +362,7 @@ fn is_tx_closed(bits: usize) -> bool {
|
||||
|
||||
impl<T> Values<T> {
|
||||
unsafe fn uninitialized() -> Values<T> {
|
||||
#[allow(deprecated)]
|
||||
let mut vals = mem::uninitialized();
|
||||
|
||||
// When fuzzing, `CausalCell` needs to be initialized.
|
||||
|
||||
@@ -112,6 +112,7 @@ struct State(usize);
|
||||
/// # t.join().unwrap().wait().unwrap();
|
||||
/// ```
|
||||
pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
|
||||
#[allow(deprecated)]
|
||||
let inner = Arc::new(Inner {
|
||||
state: AtomicUsize::new(State::new().as_usize()),
|
||||
value: CausalCell::new(None),
|
||||
|
||||
@@ -90,6 +90,7 @@ pub mod impl_macos {
|
||||
unsafe {
|
||||
let raw_fd = sock.as_raw_fd();
|
||||
|
||||
#[allow(deprecated)]
|
||||
let mut cred: super::UCred = mem::uninitialized();
|
||||
|
||||
let ret = getpeereid(raw_fd, &mut cred.uid, &mut cred.gid);
|
||||
|
||||
Reference in New Issue
Block a user