diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 02:49:50 +0000 |
commit | 9835e2ae736235810b4ea1c162ca5e65c547e770 (patch) | |
tree | 3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/wasm-bindgen-shared | |
parent | Releasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff) | |
download | rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip |
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/wasm-bindgen-shared')
-rw-r--r-- | vendor/wasm-bindgen-shared/.cargo-checksum.json | 2 | ||||
-rw-r--r-- | vendor/wasm-bindgen-shared/Cargo.toml | 2 | ||||
-rw-r--r-- | vendor/wasm-bindgen-shared/src/lib.rs | 8 | ||||
-rw-r--r-- | vendor/wasm-bindgen-shared/src/schema_hash_approval.rs | 2 |
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() { |