Sha256: fd119cfbf1abc39463e3be5145966962853d1f6771826c003449a06b3e8acbea

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

// This file is part of ICU4X. For terms of use, please see the file
// called LICENSE at the top level of the ICU4X source tree
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

use yoke::Yoke;

// Test for strong protection, should pass under miri with -Zmiri-retag-fields
// See https://github.com/unicode-org/icu4x/issues/3696

fn example(_: Yoke<&'static [u8], Vec<u8>>) {}

#[test]
fn run_test() {
    example(Yoke::attach_to_cart(vec![0, 1, 2], |data| data));
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/yoke-0.7.5/tests/miri.rs
wasmtime-28.0.0 ./ext/cargo-vendor/yoke-0.7.5/tests/miri.rs
wasmtime-27.0.0 ./ext/cargo-vendor/yoke-0.7.4/tests/miri.rs