summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-shared
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen-shared')
-rw-r--r--vendor/wasm-bindgen-shared/.cargo-checksum.json2
-rw-r--r--vendor/wasm-bindgen-shared/Cargo.toml2
-rw-r--r--vendor/wasm-bindgen-shared/src/lib.rs8
-rw-r--r--vendor/wasm-bindgen-shared/src/schema_hash_approval.rs2
4 files changed, 10 insertions, 4 deletions
diff --git a/vendor/wasm-bindgen-shared/.cargo-checksum.json b/vendor/wasm-bindgen-shared/.cargo-checksum.json
index c5706ded3..23a6afaf0 100644
--- a/vendor/wasm-bindgen-shared/.cargo-checksum.json
+++ b/vendor/wasm-bindgen-shared/.cargo-checksum.json
@@ -1 +1 @@
-{"files":{"Cargo.toml":"c031795d3a08a30d9bcf196926c495513cc1f074a63958da59bca326fc2ea023","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","build.rs":"1945abcbf05206be9463f60094b4363079f284781ed009feadb0137953826c26","src/lib.rs":"79a556de3784d8dff5e6c2928064892645aacb207f71fe82532cab8611fc0b4b","src/schema_hash_approval.rs":"1500c98ede5a6cb6a6e5eb592a67199bd64b09287c6fb0f94a2a2374bea5f8a9"},"package":"1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"} \ No newline at end of file
+{"files":{"Cargo.toml":"ad1b661c42e950ab1e33efd8ea0c0fe0b144e576c1be037bd1a96c160417e635","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","build.rs":"1945abcbf05206be9463f60094b4363079f284781ed009feadb0137953826c26","src/lib.rs":"055955f19dcfa65b1930fb8870f6c0533481a647947cac3c7ccf7605bef8f29f","src/schema_hash_approval.rs":"a550e1b89db0c79d0dce89e7e48a4c7e28130acdea0632214c0cbaab9c661bee"},"package":"0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d"} \ No newline at end of file
diff --git a/vendor/wasm-bindgen-shared/Cargo.toml b/vendor/wasm-bindgen-shared/Cargo.toml
index 8375843f9..072586592 100644
--- a/vendor/wasm-bindgen-shared/Cargo.toml
+++ b/vendor/wasm-bindgen-shared/Cargo.toml
@@ -12,7 +12,7 @@
[package]
edition = "2018"
name = "wasm-bindgen-shared"
-version = "0.2.83"
+version = "0.2.84"
authors = ["The wasm-bindgen Developers"]
links = "wasm_bindgen"
description = """
diff --git a/vendor/wasm-bindgen-shared/src/lib.rs b/vendor/wasm-bindgen-shared/src/lib.rs
index f69d8f4a8..408613be9 100644
--- a/vendor/wasm-bindgen-shared/src/lib.rs
+++ b/vendor/wasm-bindgen-shared/src/lib.rs
@@ -6,7 +6,7 @@ mod schema_hash_approval;
// This gets changed whenever our schema changes.
// At this time versions of wasm-bindgen and wasm-bindgen-cli are required to have the exact same
// SCHEMA_VERSION in order to work together.
-pub const SCHEMA_VERSION: &str = "0.2.83";
+pub const SCHEMA_VERSION: &str = "0.2.84";
#[macro_export]
macro_rules! shared_api {
@@ -22,6 +22,7 @@ macro_rules! shared_api {
inline_js: Vec<&'a str>,
unique_crate_identifier: &'a str,
package_json: Option<&'a str>,
+ linked_modules: Vec<LinkedModule<'a>>,
}
struct Import<'a> {
@@ -30,6 +31,11 @@ macro_rules! shared_api {
kind: ImportKind<'a>,
}
+ struct LinkedModule<'a> {
+ module: ImportModule<'a>,
+ link_function_name: &'a str,
+ }
+
enum ImportModule<'a> {
Named(&'a str),
RawNamed(&'a str),
diff --git a/vendor/wasm-bindgen-shared/src/schema_hash_approval.rs b/vendor/wasm-bindgen-shared/src/schema_hash_approval.rs
index 4692a28c8..0d4d0bb38 100644
--- a/vendor/wasm-bindgen-shared/src/schema_hash_approval.rs
+++ b/vendor/wasm-bindgen-shared/src/schema_hash_approval.rs
@@ -8,7 +8,7 @@
// 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";
+const APPROVED_SCHEMA_FILE_HASH: &'static str = "584864585234329974";
#[test]
fn schema_version() {