diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-06 09:26:47 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-01-06 09:26:47 -0800 |
| commit | 6b2a6cb3fe241d6e27fc685a72dd05c3a55d1ea8 (patch) | |
| tree | a9c895d3360c6d8997b173b2106765b0256c06c8 /src/libstd/unstable | |
| parent | b6a1fde1c6a13691f21cf739a9e4b6706c6c49c9 (diff) | |
| download | rust-6b2a6cb3fe241d6e27fc685a72dd05c3a55d1ea8.tar.gz rust-6b2a6cb3fe241d6e27fc685a72dd05c3a55d1ea8.zip | |
Register new snapshots
Diffstat (limited to 'src/libstd/unstable')
| -rw-r--r-- | src/libstd/unstable/intrinsics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index 9acc09dfcc6..d6b33fda745 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -188,8 +188,8 @@ extern "rust-intrinsic" { /// Execute a breakpoint trap, for inspection by a debugger. pub fn breakpoint(); - #[cfg(not(stage0))] pub fn volatile_load<T>(src: *T) -> T; - #[cfg(not(stage0))] pub fn volatile_store<T>(dst: *mut T, val: T); + pub fn volatile_load<T>(src: *T) -> T; + pub fn volatile_store<T>(dst: *mut T, val: T); /// Atomic compare and exchange, sequentially consistent. pub fn atomic_cxchg(dst: &mut int, old: int, src: int) -> int; |
