Sha256: 10e6bbd4fcd40c46a8480f6cdc10ddab80322f56fc9d0279ec35f11bdd8f6fd6

Contents?: true

Size: 893 Bytes

Versions: 8

Compression:

Stored size: 893 Bytes

Contents

cfg_if! {
    if #[cfg(all(
        target_feature = "sse2",
        any(target_arch = "x86", target_arch = "x86_64")
    ))] {
        mod pclmulqdq;
        pub use self::pclmulqdq::State;
    } else if #[cfg(all(feature = "nightly", target_arch = "aarch64"))] {
        mod aarch64;
        pub use self::aarch64::State;
    } else {
        #[derive(Clone)]
        pub enum State {}
        impl State {
            pub fn new(_: u32) -> Option<Self> {
                None
            }

            pub fn update(&mut self, _buf: &[u8]) {
                match *self {}
            }

            pub fn finalize(self) -> u32 {
                match self{}
            }

            pub fn reset(&mut self) {
                match *self {}
            }

            pub fn combine(&mut self, _other: u32, _amount: u64) {
                match *self {}
            }
        }
    }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs
wasmtime-28.0.0 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs
wasmtime-27.0.0 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs
wasmtime-26.0.0 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs
wasmtime-25.0.2 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs
wasmtime-25.0.1 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs
wasmtime-25.0.0 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs
wasmtime-24.0.0 ./ext/cargo-vendor/crc32fast-1.4.2/src/specialized/mod.rs