Sha256: a1c0e7d2ea28904ae76227baa7da5da33b68257f4c1a7a456f8d3171529bd934

Contents?: true

Size: 239 Bytes

Versions: 36

Compression:

Stored size: 239 Bytes

Contents

use super::AtomicU64;
use crate::loom::sync::Mutex;

pub(crate) type StaticAtomicU64 = AtomicU64;

impl AtomicU64 {
    pub(crate) const fn new(val: u64) -> Self {
        Self {
            inner: Mutex::const_new(val),
        }
    }
}

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
wasmtime-14.0.3 ./ext/cargo-vendor/tokio-1.33.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-14.0.1 ./ext/cargo-vendor/tokio-1.33.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-14.0.0 ./ext/cargo-vendor/tokio-1.33.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-13.0.0 ./ext/cargo-vendor/tokio-1.32.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-12.0.1 ./ext/cargo-vendor/tokio-1.32.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-12.0.0 ./ext/cargo-vendor/tokio-1.32.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-11.0.0 ./ext/cargo-vendor/tokio-1.32.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-10.0.1 ./ext/cargo-vendor/tokio-1.30.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-10.0.0 ./ext/cargo-vendor/tokio-1.30.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-9.0.4 ./ext/cargo-vendor/tokio-1.30.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-9.0.1 ./ext/cargo-vendor/tokio-1.28.1/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-8.0.0 ./ext/cargo-vendor/tokio-1.27.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-7.0.0 ./ext/cargo-vendor/tokio-1.27.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-6.0.1 ./ext/cargo-vendor/tokio-1.25.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-6.0.0 ./ext/cargo-vendor/tokio-1.25.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-5.0.0 ./ext/cargo-vendor/tokio-1.24.2/src/loom/std/atomic_u64_static_const_new.rs