Merge pull request #604 from solson/rustup

Rustup
This commit is contained in:
Oliver Scherer
2019-01-28 09:45:14 +01:00
committed by GitHub
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
nightly-2019-01-21
nightly-2019-01-28
+2 -3
View File
@@ -8,10 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT};
use std::sync::atomic::Ordering::*;
use std::sync::atomic::{AtomicBool, Ordering::*};
static mut ATOMIC: AtomicBool = ATOMIC_BOOL_INIT;
static mut ATOMIC: AtomicBool = AtomicBool::new(false);
fn main() {
unsafe {
+2 -3
View File
@@ -8,10 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::sync::atomic::{AtomicIsize, ATOMIC_ISIZE_INIT};
use std::sync::atomic::Ordering::*;
use std::sync::atomic::{AtomicIsize, Ordering::*};
static ATOMIC: AtomicIsize = ATOMIC_ISIZE_INIT;
static ATOMIC: AtomicIsize = AtomicIsize::new(0);
fn main() {
// Make sure trans can emit all the intrinsics correctly