Register new snapshots
This commit is contained in:
parent
b6a1fde1c6
commit
6b2a6cb3fe
8 changed files with 11 additions and 42 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue