Sha256: 5e55ef9430edc7f311fd35b796a71c0fedf1f729881aa307d89dce921fbec803

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

// Whenever the lib.rs changes, the SCHEMA_FILE_HASH environment variable will change and the
// schema_version test below will fail.
// Proceed as follows:
//
// If the schema in this library has changed then:
//  1. Change this APPROVED_SCHEMA_FILE_HASH to the new hash.
//
// If the schema in this library has changed then:
//  1. Bump the version in `crates/shared/Cargo.toml`
//  2. Change the `SCHEMA_VERSION` in this library to this new Cargo.toml version
const APPROVED_SCHEMA_FILE_HASH: &str = "6242250402756688161";

#[test]
fn schema_version() {
    assert_eq!(env!("SCHEMA_FILE_HASH"), APPROVED_SCHEMA_FILE_HASH)
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wasmtime-30.0.2 ./ext/cargo-vendor/wasm-bindgen-shared-0.2.100/src/schema_hash_approval.rs
wasmtime-29.0.0 ./ext/cargo-vendor/wasm-bindgen-shared-0.2.100/src/schema_hash_approval.rs