chore: bump to newer nightly (#1284)

This commit is contained in:
Carl Lerche
2019-07-10 14:36:36 -07:00
committed by GitHub
parent a79483750f
commit 7ac8bfc821
5 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -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
View File
@@ -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
+1
View File
@@ -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.
+1
View File
@@ -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),
+1
View File
@@ -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);