Sha256: 418e8c86ebf5a28ee50bd6ae00550f62a7a0ef3a7e7fda965b3d2337b64f2c66

Contents?: true

Size: 349 Bytes

Versions: 72

Compression:

Stored size: 349 Bytes

Contents

// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#[macro_use]
extern crate zerocopy;

fn main() {}

// Should fail because the file is 4 bytes long, not 8.
const WRONG_SIZE: u64 = include_value!("../../testdata/include_value/data");

Version data entries

72 entries across 24 versions & 1 rubygems

Version Path
wasmtime-30.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-stable/include_value_wrong_size.rs
wasmtime-30.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/include_value_wrong_size.rs
wasmtime-30.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-msrv/include_value_wrong_size.rs
wasmtime-29.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-msrv/include_value_wrong_size.rs
wasmtime-29.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-stable/include_value_wrong_size.rs
wasmtime-29.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/include_value_wrong_size.rs
wasmtime-28.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-msrv/include_value_wrong_size.rs
wasmtime-28.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-stable/include_value_wrong_size.rs
wasmtime-28.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/include_value_wrong_size.rs
wasmtime-27.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-msrv/include_value_wrong_size.rs
wasmtime-27.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/include_value_wrong_size.rs
wasmtime-27.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-stable/include_value_wrong_size.rs
wasmtime-26.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-msrv/include_value_wrong_size.rs
wasmtime-26.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-stable/include_value_wrong_size.rs
wasmtime-26.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/include_value_wrong_size.rs
wasmtime-25.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/include_value_wrong_size.rs
wasmtime-25.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-stable/include_value_wrong_size.rs
wasmtime-25.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-msrv/include_value_wrong_size.rs
wasmtime-25.0.1 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/include_value_wrong_size.rs
wasmtime-25.0.1 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-stable/include_value_wrong_size.rs