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-29.0.0 ./ext/cargo-vendor/tokio-1.43.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-28.0.0 ./ext/cargo-vendor/tokio-1.43.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-27.0.0 ./ext/cargo-vendor/tokio-1.41.1/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-26.0.0 ./ext/cargo-vendor/tokio-1.41.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-25.0.2 ./ext/cargo-vendor/tokio-1.40.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-25.0.1 ./ext/cargo-vendor/tokio-1.39.3/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-25.0.0 ./ext/cargo-vendor/tokio-1.39.3/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-24.0.0 ./ext/cargo-vendor/tokio-1.39.3/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-23.0.2 ./ext/cargo-vendor/tokio-1.36.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-22.0.0 ./ext/cargo-vendor/tokio-1.36.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-21.0.1 ./ext/cargo-vendor/tokio-1.36.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-20.0.2 ./ext/cargo-vendor/tokio-1.36.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-20.0.0 ./ext/cargo-vendor/tokio-1.36.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-18.0.3 ./ext/cargo-vendor/tokio-1.36.0/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-17.0.1 ./ext/cargo-vendor/tokio-1.35.1/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-17.0.0 ./ext/cargo-vendor/tokio-1.35.1/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-16.0.0 ./ext/cargo-vendor/tokio-1.35.1/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-15.0.1 ./ext/cargo-vendor/tokio-1.35.1/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-15.0.0 ./ext/cargo-vendor/tokio-1.35.1/src/loom/std/atomic_u64_static_const_new.rs
wasmtime-14.0.4 ./ext/cargo-vendor/tokio-1.33.0/src/loom/std/atomic_u64_static_const_new.rs