Sha256: 1500c98ede5a6cb6a6e5eb592a67199bd64b09287c6fb0f94a2a2374bea5f8a9

Contents?: true

Size: 636 Bytes

Versions: 3

Compression:

Stored size: 636 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: &'static str = "17656911631008664055";

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wasmtime-5.0.0 ./ext/cargo-vendor/wasm-bindgen-shared-0.2.83/src/schema_hash_approval.rs
wasmtime-0.4.1 ./ext/cargo-vendor/wasm-bindgen-shared-0.2.83/src/schema_hash_approval.rs
wasmtime-0.4.0 ./ext/cargo-vendor/wasm-bindgen-shared-0.2.83/src/schema_hash_approval.rs