Sha256: f419a2d067b42999655550cb9e28f2774dd5380a2674c55da925dfc4c7042982

Contents?: true

Size: 203 Bytes

Versions: 19

Compression:

Stored size: 203 Bytes

Contents

use magnus::{rb_assert, value::LazyId};

static FOO: LazyId = LazyId::new("foo");

#[test]
fn it_works() {
    let _ruby = unsafe { magnus::embed::init() };

    rb_assert!("foo == :foo", foo = *FOO);
}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/lazy_id.rs
wasmtime-28.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/lazy_id.rs
wasmtime-27.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/lazy_id.rs
wasmtime-26.0.0 ./ext/cargo-vendor/magnus-0.7.1/tests/lazy_id.rs
wasmtime-25.0.2 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-25.0.1 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-25.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-24.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-23.0.2 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-22.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-21.0.1 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-20.0.2 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-20.0.0 ./ext/cargo-vendor/magnus-0.6.4/tests/lazy_id.rs
wasmtime-18.0.3 ./ext/cargo-vendor/magnus-0.6.2/tests/lazy_id.rs
wasmtime-17.0.1 ./ext/cargo-vendor/magnus-0.6.2/tests/lazy_id.rs
wasmtime-17.0.0 ./ext/cargo-vendor/magnus-0.6.2/tests/lazy_id.rs
wasmtime-16.0.0 ./ext/cargo-vendor/magnus-0.6.2/tests/lazy_id.rs
wasmtime-15.0.1 ./ext/cargo-vendor/magnus-0.6.2/tests/lazy_id.rs
wasmtime-15.0.0 ./ext/cargo-vendor/magnus-0.6.2/tests/lazy_id.rs