mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
+1
-1
@@ -1 +1 @@
|
||||
nightly-2019-01-21
|
||||
nightly-2019-01-28
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user