Skip to content

Commit 92a5d6d

Browse files
committed
---
yaml --- r: 232575 b: refs/heads/try c: 0c849de h: refs/heads/master i: 232573: be7a846 232571: 81429cd 232567: ff8ebc5 232559: 007f378 232543: 8ea8a17 232511: 82b5f87 232447: 30ffd9d v: v3
1 parent b0b5aa7 commit 92a5d6d

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 8cb4d8671afecdcfd2432e08c8f43673ce51f67d
4+
refs/heads/try: 0c849de1a2bad4b63b15b0155ecef8758f5211e5
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/liballoc/arc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
7272
use boxed::Box;
7373

74-
use core::atomic;
75-
use core::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst};
74+
use core::sync::atomic;
75+
use core::sync::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst};
7676
use core::fmt;
7777
use core::cmp::Ordering;
7878
use core::mem::{align_of_val, size_of_val};

branches/try/src/libcore/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pub mod convert;
142142

143143
pub mod any;
144144
pub mod array;
145-
pub mod atomic;
145+
pub mod sync;
146146
pub mod cell;
147147
pub mod char;
148148
pub mod panicking;

branches/try/src/libcore/sync/mod.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
11+
//! Synchronization primitives
12+
13+
#![stable(feature = "rust1", since = "1.0.0")]
14+
15+
pub mod atomic;

branches/try/src/libstd/sync/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#![stable(feature = "rust1", since = "1.0.0")]
1919

2020
pub use alloc::arc::{Arc, Weak};
21-
pub use core::atomic;
21+
pub use core::sync::atomic;
2222

2323
pub use self::barrier::{Barrier, BarrierWaitResult};
2424
pub use self::condvar::{Condvar, StaticCondvar, CONDVAR_INIT};

0 commit comments

Comments
 (0)