Sha256: 7400fcd4131a66c67828eaf9c698b7a4acfac98f48a4b0db542583e86793d3e6

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

#[cfg(all(feature = "disas", feature = "encode"))]
mod disas;

#[cfg(feature = "interp")]
mod interp;

// Test the property relied on by `crates/cranelift/src/obj.rs` when filling in
// the `PulleyHostcall` relocation.
#[test]
fn test_call_indirect_host_width() {
    let mut dst = Vec::new();
    pulley_interpreter::encode::call_indirect_host(&mut dst, 1_u8);
    assert_eq!(dst.len(), 4);
    assert_eq!(dst[3], 1);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/pulley-interpreter-29.0.0/tests/all/main.rs
wasmtime-28.0.0 ./ext/cargo-vendor/pulley-interpreter-28.0.0/tests/all/main.rs