summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /vendor/wasm-bindgen
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/wasm-bindgen')
-rw-r--r--vendor/wasm-bindgen/.cargo-checksum.json2
-rw-r--r--vendor/wasm-bindgen/CHANGELOG.md72
-rw-r--r--vendor/wasm-bindgen/Cargo.toml13
-rw-r--r--vendor/wasm-bindgen/src/cast.rs2
-rw-r--r--vendor/wasm-bindgen/src/closure.rs2
-rw-r--r--vendor/wasm-bindgen/src/convert/closures.rs2
-rw-r--r--vendor/wasm-bindgen/src/convert/slices.rs2
-rw-r--r--vendor/wasm-bindgen/src/convert/traits.rs6
-rw-r--r--vendor/wasm-bindgen/src/externref.rs2
-rw-r--r--vendor/wasm-bindgen/src/lib.rs107
-rw-r--r--vendor/wasm-bindgen/tests/non_wasm.rs2
-rw-r--r--vendor/wasm-bindgen/tests/wasm/api.rs9
-rw-r--r--vendor/wasm-bindgen/tests/wasm/classes.js2
-rw-r--r--vendor/wasm-bindgen/tests/wasm/classes.rs4
-rw-r--r--vendor/wasm-bindgen/tests/wasm/closures.rs2
-rw-r--r--vendor/wasm-bindgen/tests/wasm/futures.rs6
-rw-r--r--vendor/wasm-bindgen/tests/wasm/import_class.rs8
-rw-r--r--vendor/wasm-bindgen/tests/wasm/imports.rs1
-rw-r--r--vendor/wasm-bindgen/tests/wasm/js_keywords.rs4
-rw-r--r--vendor/wasm-bindgen/tests/wasm/js_objects.rs13
-rw-r--r--vendor/wasm-bindgen/tests/wasm/main.rs2
-rw-r--r--vendor/wasm-bindgen/tests/wasm/no_shims.rs28
-rw-r--r--vendor/wasm-bindgen/tests/wasm/owned.rs1
-rw-r--r--vendor/wasm-bindgen/tests/wasm/result.rs8
-rw-r--r--vendor/wasm-bindgen/tests/wasm/result_jserror.rs2
-rw-r--r--vendor/wasm-bindgen/tests/wasm/should_panic.rs17
-rw-r--r--vendor/wasm-bindgen/tests/wasm/simple.rs9
-rw-r--r--vendor/wasm-bindgen/tests/wasm/slice.rs1
-rw-r--r--vendor/wasm-bindgen/tests/wasm/truthy_falsy.rs32
-rw-r--r--vendor/wasm-bindgen/tests/worker/main.rs18
-rw-r--r--vendor/wasm-bindgen/tests/worker/modules.js3
-rw-r--r--vendor/wasm-bindgen/tests/worker/modules.rs12
-rw-r--r--vendor/wasm-bindgen/webdriver.json8
33 files changed, 291 insertions, 111 deletions
diff --git a/vendor/wasm-bindgen/.cargo-checksum.json b/vendor/wasm-bindgen/.cargo-checksum.json
index 93e53d74e..64d220e23 100644
--- a/vendor/wasm-bindgen/.cargo-checksum.json
+++ b/vendor/wasm-bindgen/.cargo-checksum.json
@@ -1 +1 @@
-{"files":{"CHANGELOG.md":"0df8b3bc12566111f27195b3a6e24210b2d974efdd1e46dec1980e743feef97c","CONTRIBUTING.md":"aa138d76f5cb25bba1a6942a230373aaed6be73c619f945cc4657e13ba69f897","Cargo.toml":"46ca67fd47f9f09a417899f5cce9f6c8f1ec5df7241b442e7aafbe090c7836d4","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"8e0075aceb58e5db84b7debf46f7a3fde437573f46fe9aad6421a3a081575cbe","_package.json":"64c943903ffc064a2c5506e46fce690d7f566589d0d8e71804ec1638d1aabad5","build.rs":"95d57e593c411b82bf88819765d6422db2a65c1bf489b63f87e0aefeb721fc41","examples/README.md":"e5396e95d8130948e48b767ab505c46bc69f6ff3ebfe0d9709068cf42c250818","examples/import_js/README.md":"bb53d4a264e9a084effdc7a22ca7d5acca0207b411478b98782d881b7fcade51","examples/import_js/index.html":"f4825d155bfe0059aa182a506d6d076d1ba5f118e46365ac902b12f27a6c8c0d","examples/import_js/index.js":"d425b7b0636dc5c5046bc96e6bfe6ef3bb1503fa91c54f40ecb457a1b060ee5c","examples/import_js/package.json":"bbbfbfa1a62779e38ba30c920d27aefaaf10bf6add3a89a65b7d2b093c1fe017","examples/import_js/webpack.config.js":"fc314556d2f0c6266cde7c47afaceebe474be97c0401985a23d822ad9dd0105a","guide/book.toml":"d8cae5ae5fbeaab5b6852c64b975d37f51592a8e9eedba22c898672d9b11e9be","guide/src/SUMMARY.md":"12790854714da23e87538237af28a4f74d32cf4a2929c79327f58eec707e186c","guide/src/_headers":"401cee68df5967f0aa509a1b978a83f06e8e830deca1433964703e7a1ac2c646","guide/src/contributing/design/describe.md":"3186f9795be894708788e50d2ee745b9bd73bc94fb3dce67f3f1fd5e7fbd3659","guide/src/contributing/design/exporting-rust-struct.md":"2ead6b67f241bab543bb96c80e90b63abd67822a7c94190d2f2d1c9809a59b87","guide/src/contributing/design/exporting-rust.md":"4dd822967bf2fc111ad69c1dc4619715b692349208e8780dd8f54b571fb57e2e","guide/src/contributing/design/importing-js-struct.md":"848d0b144b28a5ae1ca3760438e71b938cfb2ee350f5b902fd08c38a0a64e27b","guide/src/contributing/design/importing-js.md":"c949c8921c213ba21b08f705d4611304acba47b68c35484fe968a80194f3a9ab","guide/src/contributing/design/index.md":"3bcd35bfadc3fa81d26dcac23f2e2ab5c3e2874cb6a88d0d892c5effe535fb04","guide/src/contributing/design/js-objects-in-rust.md":"0a18922b509ed8a6cc6724b81af6e6d469b75b3796dba770949a8b59d8067455","guide/src/contributing/design/rust-type-conversions.md":"efd7ddcc55770b5a2b68d542fd6aa128a9d4f60eaa5477481a1827c11b17dec0","guide/src/contributing/index.md":"e5115ccd2403b929d65acb9626bff8d66e10d1eb625a023ea017f2271a3e49c6","guide/src/contributing/js-sys/adding-more-apis.md":"d6626d530fa5b73f045a20bf123d5e261ac2ca3bd64cbb80b655612f9b9a6276","guide/src/contributing/js-sys/index.md":"9c0864ca52e8699148e789c2a6ba2d3044ba2358d7106a1b7fd725d3720dbb54","guide/src/contributing/js-sys/testing.md":"d1f613c88793ffce61b2d77aa40e3a91a1de3c73ab9f8eaedfc39da16c93ad07","guide/src/contributing/publishing.md":"012c31c7037ca084d0c2a65c2dfc0be6fcbe5c118307e9efbb4f6f781ae48e43","guide/src/contributing/team.md":"a3f993cb1afeee767e85077d135b1ea08850c433a69c436ebe6b7a48124ed945","guide/src/contributing/testing.md":"b6d45f2a177525e1fd9b7c8a0d47f0bc156a9327795bcb4d96716851f94ff2db","guide/src/contributing/web-sys/index.md":"6b4d5e00cbbcaab29295a3bd60e90b7f72b118758966622a307d9222488707c1","guide/src/contributing/web-sys/logging.md":"ee960ec9adc174183fb349acdbf5fc647b6f9a290022be9b118b9de37b8b5687","guide/src/contributing/web-sys/overview.md":"e6179317f75aa8e836e3c803f5d814e87119763709eea47b04cebc86c089d80a","guide/src/contributing/web-sys/supporting-more-web-apis.md":"984efae9c4241a105a1f5d6574cff7202f378c90ac648c4da815d97517da2b28","guide/src/contributing/web-sys/testing.md":"77f8e4b45bd0e27676dd503474bc32f91672b23c6ab7127a4f5b828dc8ea40e4","guide/src/examples/2d-canvas.md":"44a0eb82ec3398ee63a6df5aab103f1b002082eac2d129f656d8519cbc0829e7","guide/src/examples/2d-canvas.png":"b202cd79b20c00d49c40d71225eefea99306015858a432ceb7592d53c15300f7","guide/src/examples/add.md":"8dac740d6a4c499d868c29d8426d113da9cdd6ef22bf8084b8cf8c1de513b09c","guide/src/examples/char.md":"93f94a1b670322d0dc21b46d749909c414f9f254e2dd97afd8afe8cb0e5ab908","guide/src/examples/closures.md":"669dfc47a670271d7ce7a3bd2c08620b698b01ea8b2a7b1cc2047a77e7617130","guide/src/examples/console-log.md":"6552f4d766291cddc0eade75e4f64de9f10e00b89a0bedb1b15dcf7baa90b6e0","guide/src/examples/dom.md":"44ad74370b3727ec98f958273c639e767f2ae5b75e96ef53e74be1833a630272","guide/src/examples/fetch.md":"0f9d08e240bc5ced13ab154182aedef7fa7b00cba784c65727aa15be27f86d7c","guide/src/examples/hello-world.md":"d5f4d830c316a91e951cdaeab5cb23ae47dbc910b05de849e67bef1ea709564f","guide/src/examples/import-js.md":"0480a6aa32b1fdc1347cb3d0c4f2a006caeb33c75ed21eb78ad800f012cbc2c6","guide/src/examples/index.md":"4e629f42d7bfb52bc35856b6e21c3aa7433563482697212d7b54f1bf619b56ed","guide/src/examples/julia.md":"0cd4ae1de24d657d7869c984dec61cc8b796621365be633212bdb2a6d57ce727","guide/src/examples/paint.md":"06c6c04f121080e0e5600b4ad300df9e93b5d4b6342f42c421e6dec1f2955ced","guide/src/examples/performance.md":"de888713cf0a047bd4a28a1ca890be51d99b6aaabc9a2b134280b768a7148377","guide/src/examples/raytrace.md":"6769cf3b7bd14e9814e751927fde8c5acb443c5e82758285a1ee4f91e577a870","guide/src/examples/request-animation-frame.md":"26eef6b203acc0b2667d9c4380c39a44eb4b97991efeded9ca32cc9ab454e993","guide/src/examples/synchronous-instantiation.md":"c2f887e4754535c453d22438c3179d71d2468d8994a61330a362132c73157ef1","guide/src/examples/todomvc.md":"b872c5631eae969368d147342fca16dadb6f0412f8922230c27271370e9d3d97","guide/src/examples/wasm-audio-worklet.md":"dda392cb5beb75423bd402661d0de85de7acf5098e38ecf167533774b5b9977a","guide/src/examples/wasm-in-wasm.md":"5439a690e7107736e6f8b92e475f0a45e83ab9a1e5a0fe02e8f6dd93372590c6","guide/src/examples/wasm-in-web-worker.md":"8877a952ba93bbf52d85acb7a6a38d318e5638c36b86338156c4881cc704394f","guide/src/examples/wasm2js.md":"48f953dfa1b17b68e5d983231e991797e32e9bc22b9c3db72c2d055e08449a00","guide/src/examples/weather_report.md":"184bf64d58820b032a80c738050e7b2cd0042eb722f61c7e8a3c531239f72db2","guide/src/examples/web-audio.md":"32bb18c9e4f167614ce3fb61d1d04265449f88da40949834b50baf9e37063fbd","guide/src/examples/webgl.md":"15570a0a081c2301981a1fbca0bd39dfcf35221c64ddfb8e8f4477660658cb08","guide/src/examples/webrtc_datachannel.md":"47b06b1b00c41f048fad3c2206399cae2d8dbd90b6d83953c138826f11677eb5","guide/src/examples/websockets.md":"704f9d5c1d13426e6e64e132cb0204be3c10a54dbfa5f1c834adc4efb4a1b8d2","guide/src/examples/without-a-bundler.md":"1e5155e4cb042c4a8f561287b5ab09d3179b6dbcbfabfc540bbdfb9240f16865","guide/src/introduction.md":"057e81f8f62d8647e51d1269bdb5788654be2e22fea23d155ec5a15bbf8bae1d","guide/src/reference/accessing-properties-of-untyped-js-values.md":"a91e3eb706ddd15628072978906e2faca31560de616c0630316d9f6eff6b55bf","guide/src/reference/arbitrary-data-with-serde.md":"b281146412f6bda893f146e84721677f003cad57af941552c2faf534b61b2d98","guide/src/reference/attributes/index.md":"12b57ebbd0c9ba42d9f10d752c9943d9beec90d659d1b1ff9e9bfea02572a2c8","guide/src/reference/attributes/on-js-imports/catch.md":"da230e6986ca29f1e82313b82275ab9c3b2144906271cf82b27772541d781d84","guide/src/reference/attributes/on-js-imports/constructor.md":"89f8be11c567b4611c84209b34351238553d5360d7f7665ea25332e1544c5b99","guide/src/reference/attributes/on-js-imports/extends.md":"84ece37398ba0df66f890982315f082c52b5f027e03c20527755abe610c2567c","guide/src/reference/attributes/on-js-imports/final.md":"8d32d5053e9c1bc5df6fa7fe286a378895e47dea5ca067c8dddf99efe0aa5172","guide/src/reference/attributes/on-js-imports/getter-and-setter.md":"27f3c2738688a43e611524e5e3ab7174a1993026a69098b75780a388aeb5e745","guide/src/reference/attributes/on-js-imports/index.md":"2219a4514fe9597cbbe6c46014b57c38f1e85f3d0775a8a7880f50858cb13633","guide/src/reference/attributes/on-js-imports/indexing-getter-setter-deleter.md":"11d5c03f922294894fe0147fae96e04b26a5adb36ce91296e52729a9fe5931c2","guide/src/reference/attributes/on-js-imports/js_class.md":"d51c5f05b71bbf6b6ec8e0c36314ae299fd7eb07be989e721b79b599405b3486","guide/src/reference/attributes/on-js-imports/js_name.md":"12457466f3510256a51a78f52b09f7cb1c0b0ce3ef636e028cd2c372fa9e8738","guide/src/reference/attributes/on-js-imports/js_namespace.md":"e523dffa8b3110f1a17390d6bcc6c9c41c23e0a1e549f68a0aaec153ee2d228d","guide/src/reference/attributes/on-js-imports/method.md":"d54246efce5d7a104702439ba509bcc5bfbb0b57253edebdb696617daca80bcd","guide/src/reference/attributes/on-js-imports/module.md":"b47cd5ccbb69955f1d47101accc96fcd562abecbf7e34826f7f3c585d6b9dad0","guide/src/reference/attributes/on-js-imports/no_deref.md":"7d58bb3b6f768e38b949727abd1ee621ad09ebc537f83a8a20d0eeddf3771b95","guide/src/reference/attributes/on-js-imports/raw_module.md":"f363e5f3bc401b7e350eeec49cffde85dfb2346d597f38d98993fe5bfb9ff649","guide/src/reference/attributes/on-js-imports/static_method_of.md":"d5a5d9623ee55097f26e190b478e75f2e7d2ffc30e51ec647f39933d3d4e3b18","guide/src/reference/attributes/on-js-imports/structural.md":"364e01a5792029e9a5fa582375736efcee006352834ee273d218da89b77dd8bf","guide/src/reference/attributes/on-js-imports/typescript_type.md":"9cae454e9134ca1d14e2af3c732f370335332c615bf03ac49e525ff6f1877cbc","guide/src/reference/attributes/on-js-imports/variadic.md":"1ecf00149be472e3111f188c053092f3274fb33453414516a305084d8e92c4df","guide/src/reference/attributes/on-js-imports/vendor_prefix.md":"47a8d47e0cd745cca697f6d944e145f02695ca422255c3d6e1c9b2b719994b1b","guide/src/reference/attributes/on-rust-exports/constructor.md":"d3878fdb36174e5662ccfdf0fb027ef8175a7f8ca14ccca875217e03f5d5be1d","guide/src/reference/attributes/on-rust-exports/getter-and-setter.md":"464a2d41a791bd8ba5a8b1c4aa64b2f865c42b98a2d1289bb65e766e98a1b56a","guide/src/reference/attributes/on-rust-exports/getter_with_clone.md":"11a04dba4d66c19be0e234014d21ccf9cd0b76169b723e90ceb81d719478f283","guide/src/reference/attributes/on-rust-exports/index.md":"9fe778a0dd013a874db484cb22b1d9867bfe6d69cfbbe5cfeaa8ab78cf19daab","guide/src/reference/attributes/on-rust-exports/inspectable.md":"52fbcfdb83c426430a95692d566a4709255e25b24be5704d7378a4196a8c5908","guide/src/reference/attributes/on-rust-exports/js_class.md":"f4c0d8e8021001578f7d300e88c438d1a7806c17cc0d8acc3b4134922a75affc","guide/src/reference/attributes/on-rust-exports/js_name.md":"77f035b6391b9e44f254a411ba18687c5fa6110e276be73b5ea347701c8dad42","guide/src/reference/attributes/on-rust-exports/readonly.md":"a5da847ad36557f03b1c79a83d14c219dce914021266133c204260bc041b9b89","guide/src/reference/attributes/on-rust-exports/skip.md":"b9972241b8d473d1a46ef3c2861065ca296cdc923883c404f19f1d859bf914a6","guide/src/reference/attributes/on-rust-exports/skip_typescript.md":"1622c29b0d93a884bd0b5b2a62107a594e2919758c80592566e7786efe788b89","guide/src/reference/attributes/on-rust-exports/start.md":"bd020f0f003190f2be0c50a9a0091063470386af373f9a957df27b55bce9065e","guide/src/reference/attributes/on-rust-exports/typescript_custom_section.md":"9b96a30f81dd5e218953b85d823e429356723e8a6cd8aff3be0869b10d849a0a","guide/src/reference/attributes/on-rust-exports/typescript_type.md":"1960cbeea1047a0fdb936e3af4556ae805e9777323076b9f3820cb3986f27de6","guide/src/reference/browser-support.md":"aac94e3609d89a23dc274756be11cf2a87409070fae30a161cc61230dbfabd22","guide/src/reference/cli.md":"3d311ffc4b1caaf8f7a4dbe9ec6439ff732223ebfccd3c23c142e54d84159acd","guide/src/reference/deployment.md":"0e03b847ffc4adcd9285cf5c8cbbd3917898e763b985a65a73893bd7c2ebe430","guide/src/reference/index.md":"c603c3a7f265afb7c7b5eb391b32f6115f8842f3f422fd3730be4f90c4796bc4","guide/src/reference/iterating-over-js-values.md":"ec00f09516eb7de98bf7296f44b6aa9ceee3fae1dcdb7cdf8f36963d45b7ebeb","guide/src/reference/js-promises-and-rust-futures.md":"5f0c0b990f5b55c8d9485f7cc66a617f79cc232705562f306af97785c7ed1f79","guide/src/reference/js-snippets.md":"dff5adcbf66f06322e606c672ef070c2a0375f1ae592ca8a9da36a50324735cc","guide/src/reference/optimize-size.md":"c10abc1ea0902c9a57b74808bcf75bf092c0c2bb4082962b85d18df7593602c1","guide/src/reference/passing-rust-closures-to-js.md":"aa18f75ffd4b7779a2699b1bf969245ec0e1a70b24abe61e8877c2eb65f6ef60","guide/src/reference/receiving-js-closures-in-rust.md":"fc9c80ba5e1a5f243a66f68caba27e8103652aeac3765a9fad2d0e16113fede3","guide/src/reference/reference-types.md":"91d178b7fe2ec82eec4d8926a08b39ac16898172d6f65aee84347c6918033c67","guide/src/reference/rust-targets.md":"467d5cf7eaa1d4b89f9f5b2248cdd1a10340ca1db263ffff5c483ce10dcfbf54","guide/src/reference/static-js-objects.md":"930288fc463d16a46a6546f5f65af21ff6e4b94259d9a1e8bca9d660f9770604","guide/src/reference/types.md":"859123f51fa932fa37d7e47cd5c46956929793bd3accea050d3be516080ed78f","guide/src/reference/types/bool.md":"e954d93ec5096837d4dd2db3f23e71c14483279e347ca8908ecb49aded6e497a","guide/src/reference/types/boxed-jsvalue-slice.md":"634e51ce92770e6078ca3303be946272af3f092f2703c90601ed8f9092c69a53","guide/src/reference/types/boxed-number-slices.md":"1a217a68ff549f4208f99863d6616521c9d466542c1156bcc2be7d3a73e4edd4","guide/src/reference/types/char.md":"01f2f7bdb25a9a52edd93dcbbca6a29269a8d5adf6cb94dcadea29a7aace22f4","guide/src/reference/types/exported-rust-types.md":"d2f601d7d39ae92326c5624e1e2a2795f1f47accb92ec030c987b6c709681906","guide/src/reference/types/imported-js-types.md":"e12807f46bb55f4ad9dfde4cd683b3e7f9ee79302e5a0250ef24a52bd7ef71a3","guide/src/reference/types/jsvalue.md":"46d74da47f8a517249de4dd096351c10d658d9c3535950a34c1fc5d5b42eb2f7","guide/src/reference/types/number-slices.md":"f380258fc058527c7dd6f49664a4e9dff69f0b03d626071aeb61efefb2a0b646","guide/src/reference/types/numbers.md":"cce95c07be08c1f16327fd4c7e79b7c480db9cc95e2b07514d31e51bd6122101","guide/src/reference/types/pointers.md":"3710b736f790a97a325b1883d5fa8104c16365446ef702e9dd29bda74699043e","guide/src/reference/types/result.md":"78be87e86c35d2bbc1b863217c1a7592af9f2c699902f44e22d1bc4b1c0664c0","guide/src/reference/types/str.md":"6cc086b02ae3d3565678e69d91dbf105f1f310009097a37fad4c812e25d4b7c0","guide/src/reference/types/string.md":"9e42298135e0aec11bb924e3a2b5002335cfe290240b48db12dc981156177cd0","guide/src/reference/weak-references.md":"8dc6ca26c478fceff12e374e11e2f01fdf5b6a88b7302d449d4336859f4efe8a","guide/src/reference/working-with-duck-typed-interfaces.md":"a23f1f98019fed2060e1fbce954ec457e77a3a17524f34ca861d256d2ad4b6ef","guide/src/wasm-bindgen-test/asynchronous-tests.md":"c24c381b719b4bd7b0c181da1db59170e822c142eb22f95c4a6eeb8fd36df3ab","guide/src/wasm-bindgen-test/browsers.md":"d8619911d57d56eb027cb040f3456a55d0f14f670c50e4eb2e58c1331206dde4","guide/src/wasm-bindgen-test/continuous-integration.md":"5865990ef231b3c99a9c1bc18f7b7f054a29b77ac7b671fcf1cd6bb4f4304ae8","guide/src/wasm-bindgen-test/index.md":"64fbcd222c3c597109d2717a3574abf2041ff325c26ee07d58c4cd7ba1c1f8ad","guide/src/wasm-bindgen-test/usage.md":"a1da64eaaf8fe9bea366724e08a4ba63dc984f86a28cc393fe00dc394ab244d6","guide/src/web-sys/cargo-features.md":"0e50067a7a46cee3d1b21a2690aabc539379cb1452de377ebaa0eaa4e5e587b2","guide/src/web-sys/function-overloads.md":"90a08bb955f7c79e573f83c31d5e7431ae1e3ad7001792ff8ff52e4299364fcd","guide/src/web-sys/index.md":"345499d0840fd23a2e5eb5ac497665decbb3f836fe9f4f88301ae4b5fbd8d44f","guide/src/web-sys/inheritance.md":"8f18af20b930497e2fae4a266dd27e317d1ea3510266c21b32f351354b495ff2","guide/src/web-sys/type-translations.md":"687ef5e4a3961fddcb94d24f69abec0ea64f6df306f4593974b69589215980b1","guide/src/web-sys/unstable-apis.md":"e74c3e72136d6906dd60258a27f34e1ea4612e7c8e95662596475dc557151cfb","guide/src/web-sys/using-web-sys.md":"523e16af6e27703a4a0582568bc97710350222af20801907268d2d8c197fb667","publish.rs":"6352715cf06a9e373a141e34991fa97ec5bdeb0ce7d623a4fbbe9448ef1bea35","releases/friends.sh":"f896ccdcb8445d29ed6dd0d9a360f94d4f33af2f1cc9965e7bb38b156c45949d","releases/release-announcement-template.md":"fcb3c75cdb8d5d6ce8a198f5570c967313f751d1eef0790b34a518772b2e8a38","src/cache/intern.rs":"b78abd7502ad069bbeb61073d1972c717a469849222037565b50514192c187a9","src/cache/mod.rs":"8989143b55160dbc142cb20c6e066cf0a3f70d6c97fbc9aa0fac59bd62bd865b","src/cast.rs":"195cb94e25bcfc2116472272baf1345b3ca2657280daf49d724defd3886cac52","src/closure.rs":"29fc2562075146d0f6c927ab818ca12391701781173b28d5ff72f8c28ec42159","src/convert/closures.rs":"f2d841494b866d7b147a79945ea4cfd8b6503e7553a0eac66e720521f094cbfb","src/convert/impls.rs":"53b99adb5f6c50b19bf1936952693e226c0e86b703c20ff29859ad9fa25996ef","src/convert/mod.rs":"566ffd1f546afdb8d24c6c0d6faa00a28596a67ca6f2f39e9485add54400443c","src/convert/slices.rs":"ec1d91b1285844e03a954ab67e18c3edc22aa65ebb964833ea42b75aa570d7fc","src/convert/traits.rs":"8069282f34bed4829296850b44ede16b3c0103a1c85acc62c233e4d7b43edda8","src/describe.rs":"f17b1d44ea933d892e7dcd5b92f191434d8772cbcfd65468e0a6c7fd0e77f910","src/externref.rs":"cc1883fd0e0a2c64421fd12326908c0fd9aa73bba618c89cf17cc2efacd3fe70","src/lib.rs":"bb07d69c56b1143a61d6e136033ca710c14dfcdf3ef262e10ec8fc45af26141c","tests/headless/externref_heap_live_count.rs":"41b2758762c91bd2d05995b1b8989651a6bf2e586ffad5597ff63f6d2dc6d755","tests/headless/main.js":"6de0a19b91330e9bc68334c4f1fa11c1cd6bf273f5ea3e470933ad800c962679","tests/headless/main.rs":"d86245fdd476cb6c275c0649d76fd348ab55b7952ece325c1ed4ec00051a1f73","tests/headless/modules.js":"a407c81d2670309ed484adf98a2e522f6ea031b1286416eb7bf184df7433d5da","tests/headless/modules.rs":"74f77f88bb5280862c06087d78c48ba930736e58db9a1e6c80450bb0e032b789","tests/headless/snippets.rs":"baf9d3c68e1b567fcba4e073cc0d24a8f039955e10dd1275e4a389574ff556d7","tests/headless/snippets1.js":"8bd0c367fdbc61f509728255750094bb36200a1aea74079611ad7cfa9c5f3f28","tests/headless/strings.js":"fca2d7a1afae31663607f956134a4f447aaee0f85d828addc3c4c1440f2e18e5","tests/headless/strings.rs":"4a64d8a4f9329a282d0f87408c0645ded71a7d023eaad40a32eaf60886a08375","tests/must_use.rs":"cae67a8740cd2c969a6b33316cd5036639048d9bbfecf55a5f45faaa624de1d0","tests/non_wasm.rs":"fbc7f10d3604f3c867f031cd218c2b29af2b42b1225495837ad5560878930ab9","tests/std-crate-no-std-dep.rs":"47f0e32bad7b9b11ca77d66d904eb3408c3528732899479039fb6db4c6e9ed9e","tests/unwrap_throw.rs":"79f05fa37249cea08689592d53d856019a90fd1b72c41413f7fcda5cf5913356","tests/wasm/api.js":"daf4b7e2b76b718431235eda5e221dd53037fb6bebbec6023c7e3fd2b806f763","tests/wasm/api.rs":"568fc014130d0d6dba5829bd577a91b645dde7a13061c187da872695cf731563","tests/wasm/arg_names.js":"0d7de3801257e18756a974bdd2950d2fb06755f7c0d1c681e03b56d97e828e34","tests/wasm/arg_names.rs":"decd8f71a58ebf662a586b7f19e41f6666782df0da74a8a2c69b7a504661dd79","tests/wasm/bigint.js":"b6d045afbbb7d5e8723b41ee2e9c22357c8c4c4aed804bbca2a9b42a19906354","tests/wasm/bigint.rs":"5a7e0e6e6753a5ce08c199334fd89f1cfeabc1305301d988d6f748e001ccfa2c","tests/wasm/char.js":"6f307035f2689f0827726503f201f8fd591100ff051a55bda23ddcaeaa2902f1","tests/wasm/char.rs":"44dc134f9057e6c91da32c7fdba5ba10785507ced161c07267548ee08308e6c0","tests/wasm/classes.js":"9a476a12b6ad6efd5f917517543d4cbb647aff1d174d110705f02124327a431c","tests/wasm/classes.rs":"5a0267be5cf432f892e8e24f1f6558ddbe9a88298096ffd82998348e852062f3","tests/wasm/closures.js":"6df2da8bad116c9ef244f35f4f14d1fd432e6faf43df30882c6464a521cc606c","tests/wasm/closures.rs":"a481b286e80df4b100e955b1d463b7f9b1dcf1f41f236cac2bbd08cf94f9ddc1","tests/wasm/comments.js":"2c3bf2e79ecc33f0fba33d13a91a1ae9390f9f7a466af8eb215636662e20462a","tests/wasm/comments.rs":"5a0068fe3e214c07da92a46b6e45a2771fbd8e04f14cb7802f32082b87a459a0","tests/wasm/duplicate_deps.js":"2226e4f65525c545ab45109879b16b2a92341b440178e75d3a9efb3ed10f7b03","tests/wasm/duplicate_deps.rs":"3a91569e54f56e178dc164f2d2b8537ec6a10b3161c23e1cc8e552805cd868f4","tests/wasm/duplicates.rs":"a2b4a7960e8a7c9b3fda943e8aadb7cbc0ba8fa1a6956baf40ba2f129bd591ee","tests/wasm/duplicates_a.js":"d3d685e95a54b911c2b9a64f7c0f245e3e492491368355044ae2cd12c3332044","tests/wasm/duplicates_b.js":"cd6c87905a5c5514239bba52a03e6c151d79a57a477f52a073b61ef18c98f642","tests/wasm/duplicates_c.js":"93399409996d182b5fe02548d3c5c3e1681939629e0261d6f19f8c1ee3b08dfc","tests/wasm/enums.js":"7b37ce390aba76477e4d54c5214624cfc5eec49e0f88ef6f535f06f23527864f","tests/wasm/enums.rs":"1537fda37a051340722c29cb5aadc9e1819a2e609f2569ca4fd972308d03fc7f","tests/wasm/final.js":"cfa7c496291f08b98f0406190ee4deaab9ade890d65ada4c223a76135e66f619","tests/wasm/final.rs":"25b0a85e87686e3f7a7a44e3ac25402d504eec7f9813a74ffd63c5f4428ee0ff","tests/wasm/futures.js":"175745daafcaed4cc0233809f4829228528c87030459645e8493b013cd3e9f98","tests/wasm/futures.rs":"ae9bb3180e8db20f4bf1e1271081f3a201acb4d19601074b0944ecefdd763171","tests/wasm/getters_and_setters.js":"8ba2d939aab232074860cdf1e01d1c58faee49a31ef35b585c962aceccb870a5","tests/wasm/getters_and_setters.rs":"e25a2d026375adda68b4591f2802ad941e0a212fca8d7ff6cf020eb5da5fa5c7","tests/wasm/import_class.js":"d1bd1dc7df5bfde686bea6fbcd32db6009b6853712cafb446af263fdebb1fb78","tests/wasm/import_class.rs":"62995cfa8ff20bee29e288e46aa8f5d74b9485a5bcc8e1708fb99934ed2fe851","tests/wasm/imports.js":"4069b7cf12ae0cca30a1e92750d0715e782a5c795ff21c0d5aae738f726ae8b1","tests/wasm/imports.rs":"6d14da460098c6fc6cdd78479ff3410884374681a1f7444b826df47e423e8f53","tests/wasm/imports_2.js":"ab251fc0a0a1921c60d316160bc120fd97da3c3753804174cfda2f08ff43208d","tests/wasm/intrinsics.rs":"1eac40553375d1e5250a9242df19837d1b448296d53ceb41f842c80996e958e9","tests/wasm/js_keywords.js":"d247be675cc73540fea4b2e50bb2b7fcedb2b0d511d85be6fb646876d3025562","tests/wasm/js_keywords.rs":"8a8d619c2930686ce1130034273d248f7f86f4bcc8fb202bee07d240e711baf6","tests/wasm/js_objects.js":"a2be00dab58716e4cbbaeba4da8512ba924c39d3f1cb405ba769ab8a780ed7fc","tests/wasm/js_objects.rs":"86725cea9aec227e562409b9f3f96ff70cf57f21eb4ccdbe96de7ec64504244e","tests/wasm/jscast.js":"d678058645d2d370c45ec5fd5bc9b94612b1e70035a9e0f524c134369f06fe1d","tests/wasm/jscast.rs":"bd9041fd4f74cd69435f4d4be019a887d680d7fac86134e42954e94d7c1c5cab","tests/wasm/link_to.js":"b371f4c82da171ce5a3e21a6de172cd1c910a4ff26e021d1a7ede5bfd7829c40","tests/wasm/link_to.rs":"1cbc53a58cf0fb693a8e775c94e3cbebc68f2355d98f4ce972abc42ffd62d014","tests/wasm/linked_module.js":"412bcf020b68e7e5511f4def869cc3384c1e98b923a9b82e25748b40b5b6e640","tests/wasm/main.rs":"ea1e4a067a3caaea2e4d7c431faaed1771319389c0ec795b103e5a26a63dbe8a","tests/wasm/math.js":"9deb196ab7ad3d5d1f98d7d0b6ee60cb125212a4a1281ba0141cc3713fdea892","tests/wasm/math.rs":"be9000d84c6b6b091455e3b20ee7f5a88dbcfc0d38db97fad3dd167970c4b4a3","tests/wasm/no_shims.rs":"83636fee1ae0ae5b98d76b7f62f637824e77edd7a55fb27749b1a88b3910d6f6","tests/wasm/node.js":"ec3a9500773c7f07a7bcf002e23aa3848be5208147c3d750281a1e1f6d899af1","tests/wasm/node.rs":"fe140900d7048353ce0e518a1e67dedb1928f0cf34c02514498184fd8aef10cc","tests/wasm/option.js":"0d0cba722045698e9621f2565acf854bf3085c8739622798085aaa6b58e3edbe","tests/wasm/option.rs":"d82123f7349e22873e636341a52e99e256213e77d4d7ab8450ba6379be2128b7","tests/wasm/optional_primitives.js":"37484639631e1c50bdc055a08babff18d4be9f7a9291f0f3395e1a7c519e5cac","tests/wasm/optional_primitives.rs":"502803cf27b78dd8a6c1d75ae954b71cc017f803486867a87c0474e5d53a6567","tests/wasm/owned.js":"645b47e87fe52e08fbc07951736ab29f4dbab20c051913dba6228b2a08bad0bd","tests/wasm/owned.rs":"32684e31c4f1d3641ea1384d6611bc291dfd0f6d104c4bf0e57742f572649210","tests/wasm/result.js":"78212259f886d864885eca7599199434bd7abec915a2e7fa3b73dfe63284e15c","tests/wasm/result.rs":"2aab9c8a7c05b44bbd99b40800fb6fd08dd2cb498740219c9defec059cd4a637","tests/wasm/result_jserror.js":"3ea04e68937f15d869535b3bb119d8886dfcde3c16c12c4a18a995f358552154","tests/wasm/result_jserror.rs":"d168239fc71078f23a820e8959050e15965b86be047ab17c19c1befa35a82b4e","tests/wasm/rethrow.js":"0a495a8d1b735277e18cc3fc3edf8bd2a72586441d3884134182e5052786ab84","tests/wasm/rethrow.rs":"59dcf192c9e85b0d98031c135d2aa2eda4902a2bc5b740a9ddf1e75dc9cdd23e","tests/wasm/simple.js":"3890fa19585d031821e8db80de06593e8e5ce83c9ba8214fe1cef319e9c14fbb","tests/wasm/simple.rs":"e0bb901661e63750b468ba530c4d3cb3a7fb3b3f1b13adba1b88c129688867db","tests/wasm/slice.js":"2e3c42c6ebeb832f42e99e4f251817bd13083eff0b7c45c46fb4d7ab2aa740cd","tests/wasm/slice.rs":"511eb693d0ac56bde149c37039fb207ee4f0b1b92db2a809306f5ac80d578dbd","tests/wasm/structural.js":"ac504a1dbb7222c70270530a284eec56ace0bc47b95e8f9331f4b2df1d28c3f9","tests/wasm/structural.rs":"dda0e9cea09b94dd84ae39d6cf0949aa305062b7a466fdcb53370f5ee9e3dff5","tests/wasm/truthy_falsy.rs":"b54206b376f7413c9cce1792df65f57ed1e97660b4be8d9486e9c6af00f6893f","tests/wasm/usize.js":"521714b75033d9e18117de2cae2cd690c477faa88daefbbc82a09e60f4e901a8","tests/wasm/usize.rs":"b97455844d1f7acfbae7fcc69ec0bd8de871201281e802173a62574b8f3d7983","tests/wasm/validate_prt.js":"a726a85f4805648d9e69c804a266bbedaed942228a1b3a46274a91bcb83eafe9","tests/wasm/validate_prt.rs":"cea3db07f10d2bf057af99b90655179371bccf1db67e7364d476b00ecbf24a93","tests/wasm/variadic.js":"30d3bb656c0eb29b69c7e653f3201b5210b8a78e962b4678336c4d9889182adb","tests/wasm/variadic.rs":"1cabd34ad64475cc705853a2b9a8f619f6aed6ee3f3d8179793f8198df1ac178","tests/wasm/vendor_prefix.js":"1424c7fea77fea13179a50030afeffdf4b277dcb6d7b1e5ce3eea681ec2c47f4","tests/wasm/vendor_prefix.rs":"eabd627e14e09ec637d7e7a5b0bccced7e3370203351e4ce8610a5c66fac502b"},"package":"31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b"} \ No newline at end of file
+{"files":{"CHANGELOG.md":"9ad625861dc9c8f6457281e7d5ac563085b5458e188fb6b0e18858215d2b5dee","CONTRIBUTING.md":"aa138d76f5cb25bba1a6942a230373aaed6be73c619f945cc4657e13ba69f897","Cargo.toml":"dae7f0168f3ece72616595f4a63e6a1f078d24198bdf39abe0de002ed1ce90f0","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"8e0075aceb58e5db84b7debf46f7a3fde437573f46fe9aad6421a3a081575cbe","_package.json":"64c943903ffc064a2c5506e46fce690d7f566589d0d8e71804ec1638d1aabad5","build.rs":"95d57e593c411b82bf88819765d6422db2a65c1bf489b63f87e0aefeb721fc41","examples/README.md":"e5396e95d8130948e48b767ab505c46bc69f6ff3ebfe0d9709068cf42c250818","examples/import_js/README.md":"bb53d4a264e9a084effdc7a22ca7d5acca0207b411478b98782d881b7fcade51","examples/import_js/index.html":"f4825d155bfe0059aa182a506d6d076d1ba5f118e46365ac902b12f27a6c8c0d","examples/import_js/index.js":"d425b7b0636dc5c5046bc96e6bfe6ef3bb1503fa91c54f40ecb457a1b060ee5c","examples/import_js/package.json":"bbbfbfa1a62779e38ba30c920d27aefaaf10bf6add3a89a65b7d2b093c1fe017","examples/import_js/webpack.config.js":"fc314556d2f0c6266cde7c47afaceebe474be97c0401985a23d822ad9dd0105a","guide/book.toml":"d8cae5ae5fbeaab5b6852c64b975d37f51592a8e9eedba22c898672d9b11e9be","guide/src/SUMMARY.md":"26355c6b0e8391429736fc5515b03a0e160d792710c6765645aecff0cc9bd171","guide/src/_headers":"401cee68df5967f0aa509a1b978a83f06e8e830deca1433964703e7a1ac2c646","guide/src/contributing/design/describe.md":"3186f9795be894708788e50d2ee745b9bd73bc94fb3dce67f3f1fd5e7fbd3659","guide/src/contributing/design/exporting-rust-struct.md":"2ead6b67f241bab543bb96c80e90b63abd67822a7c94190d2f2d1c9809a59b87","guide/src/contributing/design/exporting-rust.md":"ad88a5e0fccafe6c27e5a8bd951cf3e2fee1846da77a665f255999d9dd5961a6","guide/src/contributing/design/importing-js-struct.md":"848d0b144b28a5ae1ca3760438e71b938cfb2ee350f5b902fd08c38a0a64e27b","guide/src/contributing/design/importing-js.md":"c949c8921c213ba21b08f705d4611304acba47b68c35484fe968a80194f3a9ab","guide/src/contributing/design/index.md":"3bcd35bfadc3fa81d26dcac23f2e2ab5c3e2874cb6a88d0d892c5effe535fb04","guide/src/contributing/design/js-objects-in-rust.md":"0a18922b509ed8a6cc6724b81af6e6d469b75b3796dba770949a8b59d8067455","guide/src/contributing/design/rust-type-conversions.md":"efd7ddcc55770b5a2b68d542fd6aa128a9d4f60eaa5477481a1827c11b17dec0","guide/src/contributing/index.md":"e5115ccd2403b929d65acb9626bff8d66e10d1eb625a023ea017f2271a3e49c6","guide/src/contributing/js-sys/adding-more-apis.md":"d6626d530fa5b73f045a20bf123d5e261ac2ca3bd64cbb80b655612f9b9a6276","guide/src/contributing/js-sys/index.md":"9c0864ca52e8699148e789c2a6ba2d3044ba2358d7106a1b7fd725d3720dbb54","guide/src/contributing/js-sys/testing.md":"d1f613c88793ffce61b2d77aa40e3a91a1de3c73ab9f8eaedfc39da16c93ad07","guide/src/contributing/publishing.md":"012c31c7037ca084d0c2a65c2dfc0be6fcbe5c118307e9efbb4f6f781ae48e43","guide/src/contributing/team.md":"a3f993cb1afeee767e85077d135b1ea08850c433a69c436ebe6b7a48124ed945","guide/src/contributing/testing.md":"b6d45f2a177525e1fd9b7c8a0d47f0bc156a9327795bcb4d96716851f94ff2db","guide/src/contributing/web-sys/index.md":"6b4d5e00cbbcaab29295a3bd60e90b7f72b118758966622a307d9222488707c1","guide/src/contributing/web-sys/logging.md":"ee960ec9adc174183fb349acdbf5fc647b6f9a290022be9b118b9de37b8b5687","guide/src/contributing/web-sys/overview.md":"e6179317f75aa8e836e3c803f5d814e87119763709eea47b04cebc86c089d80a","guide/src/contributing/web-sys/supporting-more-web-apis.md":"a3817d09c6cdc3cb28a1b77cdad5e4436ab5bc37f9d681b1e495815ca91de85a","guide/src/contributing/web-sys/testing.md":"77f8e4b45bd0e27676dd503474bc32f91672b23c6ab7127a4f5b828dc8ea40e4","guide/src/examples/2d-canvas.md":"44a0eb82ec3398ee63a6df5aab103f1b002082eac2d129f656d8519cbc0829e7","guide/src/examples/2d-canvas.png":"b202cd79b20c00d49c40d71225eefea99306015858a432ceb7592d53c15300f7","guide/src/examples/add.md":"8dac740d6a4c499d868c29d8426d113da9cdd6ef22bf8084b8cf8c1de513b09c","guide/src/examples/char.md":"93f94a1b670322d0dc21b46d749909c414f9f254e2dd97afd8afe8cb0e5ab908","guide/src/examples/closures.md":"669dfc47a670271d7ce7a3bd2c08620b698b01ea8b2a7b1cc2047a77e7617130","guide/src/examples/console-log.md":"6552f4d766291cddc0eade75e4f64de9f10e00b89a0bedb1b15dcf7baa90b6e0","guide/src/examples/dom.md":"44ad74370b3727ec98f958273c639e767f2ae5b75e96ef53e74be1833a630272","guide/src/examples/fetch.md":"0f9d08e240bc5ced13ab154182aedef7fa7b00cba784c65727aa15be27f86d7c","guide/src/examples/hello-world.md":"d5f4d830c316a91e951cdaeab5cb23ae47dbc910b05de849e67bef1ea709564f","guide/src/examples/import-js.md":"0480a6aa32b1fdc1347cb3d0c4f2a006caeb33c75ed21eb78ad800f012cbc2c6","guide/src/examples/index.md":"4e629f42d7bfb52bc35856b6e21c3aa7433563482697212d7b54f1bf619b56ed","guide/src/examples/julia.md":"0cd4ae1de24d657d7869c984dec61cc8b796621365be633212bdb2a6d57ce727","guide/src/examples/paint.md":"06c6c04f121080e0e5600b4ad300df9e93b5d4b6342f42c421e6dec1f2955ced","guide/src/examples/performance.md":"de888713cf0a047bd4a28a1ca890be51d99b6aaabc9a2b134280b768a7148377","guide/src/examples/raytrace.md":"6769cf3b7bd14e9814e751927fde8c5acb443c5e82758285a1ee4f91e577a870","guide/src/examples/request-animation-frame.md":"26eef6b203acc0b2667d9c4380c39a44eb4b97991efeded9ca32cc9ab454e993","guide/src/examples/synchronous-instantiation.md":"c2f887e4754535c453d22438c3179d71d2468d8994a61330a362132c73157ef1","guide/src/examples/todomvc.md":"b872c5631eae969368d147342fca16dadb6f0412f8922230c27271370e9d3d97","guide/src/examples/wasm-audio-worklet.md":"dda392cb5beb75423bd402661d0de85de7acf5098e38ecf167533774b5b9977a","guide/src/examples/wasm-in-wasm.md":"5439a690e7107736e6f8b92e475f0a45e83ab9a1e5a0fe02e8f6dd93372590c6","guide/src/examples/wasm-in-web-worker.md":"8877a952ba93bbf52d85acb7a6a38d318e5638c36b86338156c4881cc704394f","guide/src/examples/wasm2js.md":"48f953dfa1b17b68e5d983231e991797e32e9bc22b9c3db72c2d055e08449a00","guide/src/examples/weather_report.md":"184bf64d58820b032a80c738050e7b2cd0042eb722f61c7e8a3c531239f72db2","guide/src/examples/web-audio.md":"32bb18c9e4f167614ce3fb61d1d04265449f88da40949834b50baf9e37063fbd","guide/src/examples/webgl.md":"15570a0a081c2301981a1fbca0bd39dfcf35221c64ddfb8e8f4477660658cb08","guide/src/examples/webrtc_datachannel.md":"47b06b1b00c41f048fad3c2206399cae2d8dbd90b6d83953c138826f11677eb5","guide/src/examples/websockets.md":"704f9d5c1d13426e6e64e132cb0204be3c10a54dbfa5f1c834adc4efb4a1b8d2","guide/src/examples/without-a-bundler.md":"c25c28ae01905615bfbfb88b43563e04db76cc0d87469b63453053f62d8a4930","guide/src/introduction.md":"057e81f8f62d8647e51d1269bdb5788654be2e22fea23d155ec5a15bbf8bae1d","guide/src/reference/accessing-properties-of-untyped-js-values.md":"a91e3eb706ddd15628072978906e2faca31560de616c0630316d9f6eff6b55bf","guide/src/reference/arbitrary-data-with-serde.md":"b281146412f6bda893f146e84721677f003cad57af941552c2faf534b61b2d98","guide/src/reference/attributes/index.md":"12b57ebbd0c9ba42d9f10d752c9943d9beec90d659d1b1ff9e9bfea02572a2c8","guide/src/reference/attributes/on-js-imports/catch.md":"da230e6986ca29f1e82313b82275ab9c3b2144906271cf82b27772541d781d84","guide/src/reference/attributes/on-js-imports/constructor.md":"89f8be11c567b4611c84209b34351238553d5360d7f7665ea25332e1544c5b99","guide/src/reference/attributes/on-js-imports/extends.md":"84ece37398ba0df66f890982315f082c52b5f027e03c20527755abe610c2567c","guide/src/reference/attributes/on-js-imports/final.md":"2ded2c23194cdb5f0b064a2114cbc8a6a1c1573363d797f162c4683bb2f1c21d","guide/src/reference/attributes/on-js-imports/getter-and-setter.md":"27f3c2738688a43e611524e5e3ab7174a1993026a69098b75780a388aeb5e745","guide/src/reference/attributes/on-js-imports/index.md":"2219a4514fe9597cbbe6c46014b57c38f1e85f3d0775a8a7880f50858cb13633","guide/src/reference/attributes/on-js-imports/indexing-getter-setter-deleter.md":"11d5c03f922294894fe0147fae96e04b26a5adb36ce91296e52729a9fe5931c2","guide/src/reference/attributes/on-js-imports/js_class.md":"d51c5f05b71bbf6b6ec8e0c36314ae299fd7eb07be989e721b79b599405b3486","guide/src/reference/attributes/on-js-imports/js_name.md":"12457466f3510256a51a78f52b09f7cb1c0b0ce3ef636e028cd2c372fa9e8738","guide/src/reference/attributes/on-js-imports/js_namespace.md":"acaccd162a982c1c17b659ce5daa1d5a0d184b9b07728fc5bb17a89f327ffafa","guide/src/reference/attributes/on-js-imports/method.md":"d54246efce5d7a104702439ba509bcc5bfbb0b57253edebdb696617daca80bcd","guide/src/reference/attributes/on-js-imports/module.md":"b47cd5ccbb69955f1d47101accc96fcd562abecbf7e34826f7f3c585d6b9dad0","guide/src/reference/attributes/on-js-imports/no_deref.md":"7d58bb3b6f768e38b949727abd1ee621ad09ebc537f83a8a20d0eeddf3771b95","guide/src/reference/attributes/on-js-imports/raw_module.md":"f363e5f3bc401b7e350eeec49cffde85dfb2346d597f38d98993fe5bfb9ff649","guide/src/reference/attributes/on-js-imports/static_method_of.md":"d5a5d9623ee55097f26e190b478e75f2e7d2ffc30e51ec647f39933d3d4e3b18","guide/src/reference/attributes/on-js-imports/structural.md":"364e01a5792029e9a5fa582375736efcee006352834ee273d218da89b77dd8bf","guide/src/reference/attributes/on-js-imports/typescript_type.md":"9cae454e9134ca1d14e2af3c732f370335332c615bf03ac49e525ff6f1877cbc","guide/src/reference/attributes/on-js-imports/variadic.md":"1ecf00149be472e3111f188c053092f3274fb33453414516a305084d8e92c4df","guide/src/reference/attributes/on-js-imports/vendor_prefix.md":"47a8d47e0cd745cca697f6d944e145f02695ca422255c3d6e1c9b2b719994b1b","guide/src/reference/attributes/on-rust-exports/constructor.md":"d3878fdb36174e5662ccfdf0fb027ef8175a7f8ca14ccca875217e03f5d5be1d","guide/src/reference/attributes/on-rust-exports/getter-and-setter.md":"464a2d41a791bd8ba5a8b1c4aa64b2f865c42b98a2d1289bb65e766e98a1b56a","guide/src/reference/attributes/on-rust-exports/getter_with_clone.md":"11a04dba4d66c19be0e234014d21ccf9cd0b76169b723e90ceb81d719478f283","guide/src/reference/attributes/on-rust-exports/index.md":"9fe778a0dd013a874db484cb22b1d9867bfe6d69cfbbe5cfeaa8ab78cf19daab","guide/src/reference/attributes/on-rust-exports/inspectable.md":"52fbcfdb83c426430a95692d566a4709255e25b24be5704d7378a4196a8c5908","guide/src/reference/attributes/on-rust-exports/js_class.md":"f4c0d8e8021001578f7d300e88c438d1a7806c17cc0d8acc3b4134922a75affc","guide/src/reference/attributes/on-rust-exports/js_name.md":"77f035b6391b9e44f254a411ba18687c5fa6110e276be73b5ea347701c8dad42","guide/src/reference/attributes/on-rust-exports/main.md":"d1a42470fb0457b3471e96ba22ca270c1cfc9d5fa781240a9d8b1aef32641ff8","guide/src/reference/attributes/on-rust-exports/readonly.md":"a5da847ad36557f03b1c79a83d14c219dce914021266133c204260bc041b9b89","guide/src/reference/attributes/on-rust-exports/skip.md":"b9972241b8d473d1a46ef3c2861065ca296cdc923883c404f19f1d859bf914a6","guide/src/reference/attributes/on-rust-exports/skip_jsdoc.md":"6c400bb6dac1083449758448e5e7a576d40f371592cd597ea95ec441fefe19f8","guide/src/reference/attributes/on-rust-exports/skip_typescript.md":"1622c29b0d93a884bd0b5b2a62107a594e2919758c80592566e7786efe788b89","guide/src/reference/attributes/on-rust-exports/start.md":"db6cfb9593b7af1a95112c135c202d00c609651df16abc174d2f38310809ad08","guide/src/reference/attributes/on-rust-exports/typescript_custom_section.md":"6dd69f15b6f6f632880b7a65cc49abe8f4f95fdead753c576d81a3268dae4985","guide/src/reference/attributes/on-rust-exports/typescript_type.md":"1960cbeea1047a0fdb936e3af4556ae805e9777323076b9f3820cb3986f27de6","guide/src/reference/browser-support.md":"177fff4ee6a68c85f045cec47bc7aa40de66fc95f8cb59128e8ef2d6972dbd7b","guide/src/reference/cli.md":"809daa3dbd7da7aa01786acd9602bfb4f81546c010568bf1f56d95eaac7dc29e","guide/src/reference/deployment.md":"1954466cd2ac6c5326258364f6390b10cee9c2729e7c2779f2a50f950c7c9523","guide/src/reference/index.md":"c603c3a7f265afb7c7b5eb391b32f6115f8842f3f422fd3730be4f90c4796bc4","guide/src/reference/iterating-over-js-values.md":"ec00f09516eb7de98bf7296f44b6aa9ceee3fae1dcdb7cdf8f36963d45b7ebeb","guide/src/reference/js-promises-and-rust-futures.md":"5f0c0b990f5b55c8d9485f7cc66a617f79cc232705562f306af97785c7ed1f79","guide/src/reference/js-snippets.md":"dff5adcbf66f06322e606c672ef070c2a0375f1ae592ca8a9da36a50324735cc","guide/src/reference/optimize-size.md":"c10abc1ea0902c9a57b74808bcf75bf092c0c2bb4082962b85d18df7593602c1","guide/src/reference/passing-rust-closures-to-js.md":"aa18f75ffd4b7779a2699b1bf969245ec0e1a70b24abe61e8877c2eb65f6ef60","guide/src/reference/receiving-js-closures-in-rust.md":"fc9c80ba5e1a5f243a66f68caba27e8103652aeac3765a9fad2d0e16113fede3","guide/src/reference/reference-types.md":"91d178b7fe2ec82eec4d8926a08b39ac16898172d6f65aee84347c6918033c67","guide/src/reference/rust-targets.md":"467d5cf7eaa1d4b89f9f5b2248cdd1a10340ca1db263ffff5c483ce10dcfbf54","guide/src/reference/static-js-objects.md":"930288fc463d16a46a6546f5f65af21ff6e4b94259d9a1e8bca9d660f9770604","guide/src/reference/types.md":"859123f51fa932fa37d7e47cd5c46956929793bd3accea050d3be516080ed78f","guide/src/reference/types/bool.md":"e954d93ec5096837d4dd2db3f23e71c14483279e347ca8908ecb49aded6e497a","guide/src/reference/types/boxed-jsvalue-slice.md":"634e51ce92770e6078ca3303be946272af3f092f2703c90601ed8f9092c69a53","guide/src/reference/types/boxed-number-slices.md":"1a217a68ff549f4208f99863d6616521c9d466542c1156bcc2be7d3a73e4edd4","guide/src/reference/types/char.md":"01f2f7bdb25a9a52edd93dcbbca6a29269a8d5adf6cb94dcadea29a7aace22f4","guide/src/reference/types/exported-rust-types.md":"d2f601d7d39ae92326c5624e1e2a2795f1f47accb92ec030c987b6c709681906","guide/src/reference/types/imported-js-types.md":"c82dba871a26afb7b90ceec59892adfec9bec550665a74d190a4fda639f61d5d","guide/src/reference/types/jsvalue.md":"46d74da47f8a517249de4dd096351c10d658d9c3535950a34c1fc5d5b42eb2f7","guide/src/reference/types/number-slices.md":"f380258fc058527c7dd6f49664a4e9dff69f0b03d626071aeb61efefb2a0b646","guide/src/reference/types/numbers.md":"cce95c07be08c1f16327fd4c7e79b7c480db9cc95e2b07514d31e51bd6122101","guide/src/reference/types/pointers.md":"3710b736f790a97a325b1883d5fa8104c16365446ef702e9dd29bda74699043e","guide/src/reference/types/result.md":"78be87e86c35d2bbc1b863217c1a7592af9f2c699902f44e22d1bc4b1c0664c0","guide/src/reference/types/str.md":"6cc086b02ae3d3565678e69d91dbf105f1f310009097a37fad4c812e25d4b7c0","guide/src/reference/types/string.md":"9e42298135e0aec11bb924e3a2b5002335cfe290240b48db12dc981156177cd0","guide/src/reference/weak-references.md":"8dc6ca26c478fceff12e374e11e2f01fdf5b6a88b7302d449d4336859f4efe8a","guide/src/reference/working-with-duck-typed-interfaces.md":"a23f1f98019fed2060e1fbce954ec457e77a3a17524f34ca861d256d2ad4b6ef","guide/src/wasm-bindgen-test/asynchronous-tests.md":"c24c381b719b4bd7b0c181da1db59170e822c142eb22f95c4a6eeb8fd36df3ab","guide/src/wasm-bindgen-test/browsers.md":"4a32d955e907134d71bb8cacb6a8a3eb290622156251f50f6a3946d799314e44","guide/src/wasm-bindgen-test/continuous-integration.md":"5865990ef231b3c99a9c1bc18f7b7f054a29b77ac7b671fcf1cd6bb4f4304ae8","guide/src/wasm-bindgen-test/index.md":"64fbcd222c3c597109d2717a3574abf2041ff325c26ee07d58c4cd7ba1c1f8ad","guide/src/wasm-bindgen-test/usage.md":"a1da64eaaf8fe9bea366724e08a4ba63dc984f86a28cc393fe00dc394ab244d6","guide/src/web-sys/cargo-features.md":"0e50067a7a46cee3d1b21a2690aabc539379cb1452de377ebaa0eaa4e5e587b2","guide/src/web-sys/function-overloads.md":"90a08bb955f7c79e573f83c31d5e7431ae1e3ad7001792ff8ff52e4299364fcd","guide/src/web-sys/index.md":"345499d0840fd23a2e5eb5ac497665decbb3f836fe9f4f88301ae4b5fbd8d44f","guide/src/web-sys/inheritance.md":"8f18af20b930497e2fae4a266dd27e317d1ea3510266c21b32f351354b495ff2","guide/src/web-sys/type-translations.md":"687ef5e4a3961fddcb94d24f69abec0ea64f6df306f4593974b69589215980b1","guide/src/web-sys/unstable-apis.md":"e74c3e72136d6906dd60258a27f34e1ea4612e7c8e95662596475dc557151cfb","guide/src/web-sys/using-web-sys.md":"523e16af6e27703a4a0582568bc97710350222af20801907268d2d8c197fb667","publish.rs":"6352715cf06a9e373a141e34991fa97ec5bdeb0ce7d623a4fbbe9448ef1bea35","releases/friends.sh":"f896ccdcb8445d29ed6dd0d9a360f94d4f33af2f1cc9965e7bb38b156c45949d","releases/release-announcement-template.md":"fcb3c75cdb8d5d6ce8a198f5570c967313f751d1eef0790b34a518772b2e8a38","src/cache/intern.rs":"b78abd7502ad069bbeb61073d1972c717a469849222037565b50514192c187a9","src/cache/mod.rs":"8989143b55160dbc142cb20c6e066cf0a3f70d6c97fbc9aa0fac59bd62bd865b","src/cast.rs":"da53f21aa485c0dae184350d2693ab41e3fc7a34fa300c19ad718f2b7fc2d42b","src/closure.rs":"489602405b52a5cd6b2e26f0e3a9e8d18497a939ab4cfb2e16c169cdc956f460","src/convert/closures.rs":"34d3be752366270170e4a46b7ed81659417fc3596b93a8d004959cfae6ba91b5","src/convert/impls.rs":"53b99adb5f6c50b19bf1936952693e226c0e86b703c20ff29859ad9fa25996ef","src/convert/mod.rs":"566ffd1f546afdb8d24c6c0d6faa00a28596a67ca6f2f39e9485add54400443c","src/convert/slices.rs":"023631e5419a6940fd50dd3a9f13725bccdb2918c78b86639202207d3ef707f3","src/convert/traits.rs":"6e6fbea4303547ab7c727b70bda964ecaa9b25396faa0b5963efee85b8737a94","src/describe.rs":"f17b1d44ea933d892e7dcd5b92f191434d8772cbcfd65468e0a6c7fd0e77f910","src/externref.rs":"2c26fc2a85a04d131c70d14a425ff54d961a471fb2b53c378d7f5e3ffc6b9085","src/lib.rs":"08c3483a27953c47bff48e756b0d47df4c809fa268c16d5d30ab83009a3f6abb","tests/headless/externref_heap_live_count.rs":"41b2758762c91bd2d05995b1b8989651a6bf2e586ffad5597ff63f6d2dc6d755","tests/headless/main.js":"6de0a19b91330e9bc68334c4f1fa11c1cd6bf273f5ea3e470933ad800c962679","tests/headless/main.rs":"d86245fdd476cb6c275c0649d76fd348ab55b7952ece325c1ed4ec00051a1f73","tests/headless/modules.js":"a407c81d2670309ed484adf98a2e522f6ea031b1286416eb7bf184df7433d5da","tests/headless/modules.rs":"74f77f88bb5280862c06087d78c48ba930736e58db9a1e6c80450bb0e032b789","tests/headless/snippets.rs":"baf9d3c68e1b567fcba4e073cc0d24a8f039955e10dd1275e4a389574ff556d7","tests/headless/snippets1.js":"8bd0c367fdbc61f509728255750094bb36200a1aea74079611ad7cfa9c5f3f28","tests/headless/strings.js":"fca2d7a1afae31663607f956134a4f447aaee0f85d828addc3c4c1440f2e18e5","tests/headless/strings.rs":"4a64d8a4f9329a282d0f87408c0645ded71a7d023eaad40a32eaf60886a08375","tests/must_use.rs":"cae67a8740cd2c969a6b33316cd5036639048d9bbfecf55a5f45faaa624de1d0","tests/non_wasm.rs":"d2cca0b81824ac392f55b8d583d2f361ac11bed892968113e33fb3148572b853","tests/std-crate-no-std-dep.rs":"47f0e32bad7b9b11ca77d66d904eb3408c3528732899479039fb6db4c6e9ed9e","tests/unwrap_throw.rs":"79f05fa37249cea08689592d53d856019a90fd1b72c41413f7fcda5cf5913356","tests/wasm/api.js":"daf4b7e2b76b718431235eda5e221dd53037fb6bebbec6023c7e3fd2b806f763","tests/wasm/api.rs":"12219ffafbb57ba8ed315c56f5e18de412df84757e002ae11cb9d2beec13b0e3","tests/wasm/arg_names.js":"0d7de3801257e18756a974bdd2950d2fb06755f7c0d1c681e03b56d97e828e34","tests/wasm/arg_names.rs":"decd8f71a58ebf662a586b7f19e41f6666782df0da74a8a2c69b7a504661dd79","tests/wasm/bigint.js":"b6d045afbbb7d5e8723b41ee2e9c22357c8c4c4aed804bbca2a9b42a19906354","tests/wasm/bigint.rs":"5a7e0e6e6753a5ce08c199334fd89f1cfeabc1305301d988d6f748e001ccfa2c","tests/wasm/char.js":"6f307035f2689f0827726503f201f8fd591100ff051a55bda23ddcaeaa2902f1","tests/wasm/char.rs":"44dc134f9057e6c91da32c7fdba5ba10785507ced161c07267548ee08308e6c0","tests/wasm/classes.js":"bfe8660c25933fa1cec1301db9a790b3df3d5a0f6911733ad2544a26b43dabae","tests/wasm/classes.rs":"e2df4a27ef2dc5b986c88206dc1067fbb762d4393d5d343d3edf2d1ac3f40fdc","tests/wasm/closures.js":"6df2da8bad116c9ef244f35f4f14d1fd432e6faf43df30882c6464a521cc606c","tests/wasm/closures.rs":"6ca1967c2a738034798b78b8a407b3c7db1648b4a544ab2399048bf362c4ccc7","tests/wasm/comments.js":"2c3bf2e79ecc33f0fba33d13a91a1ae9390f9f7a466af8eb215636662e20462a","tests/wasm/comments.rs":"5a0068fe3e214c07da92a46b6e45a2771fbd8e04f14cb7802f32082b87a459a0","tests/wasm/duplicate_deps.js":"2226e4f65525c545ab45109879b16b2a92341b440178e75d3a9efb3ed10f7b03","tests/wasm/duplicate_deps.rs":"3a91569e54f56e178dc164f2d2b8537ec6a10b3161c23e1cc8e552805cd868f4","tests/wasm/duplicates.rs":"a2b4a7960e8a7c9b3fda943e8aadb7cbc0ba8fa1a6956baf40ba2f129bd591ee","tests/wasm/duplicates_a.js":"d3d685e95a54b911c2b9a64f7c0f245e3e492491368355044ae2cd12c3332044","tests/wasm/duplicates_b.js":"cd6c87905a5c5514239bba52a03e6c151d79a57a477f52a073b61ef18c98f642","tests/wasm/duplicates_c.js":"93399409996d182b5fe02548d3c5c3e1681939629e0261d6f19f8c1ee3b08dfc","tests/wasm/enums.js":"7b37ce390aba76477e4d54c5214624cfc5eec49e0f88ef6f535f06f23527864f","tests/wasm/enums.rs":"1537fda37a051340722c29cb5aadc9e1819a2e609f2569ca4fd972308d03fc7f","tests/wasm/final.js":"cfa7c496291f08b98f0406190ee4deaab9ade890d65ada4c223a76135e66f619","tests/wasm/final.rs":"25b0a85e87686e3f7a7a44e3ac25402d504eec7f9813a74ffd63c5f4428ee0ff","tests/wasm/futures.js":"175745daafcaed4cc0233809f4829228528c87030459645e8493b013cd3e9f98","tests/wasm/futures.rs":"24af063658319fc76d89a30a9582e885465dfde520c6eae34eb5b8b668aa05cc","tests/wasm/getters_and_setters.js":"8ba2d939aab232074860cdf1e01d1c58faee49a31ef35b585c962aceccb870a5","tests/wasm/getters_and_setters.rs":"e25a2d026375adda68b4591f2802ad941e0a212fca8d7ff6cf020eb5da5fa5c7","tests/wasm/import_class.js":"d1bd1dc7df5bfde686bea6fbcd32db6009b6853712cafb446af263fdebb1fb78","tests/wasm/import_class.rs":"0678cb9272a28f818a54f182e8f229235f6bc79e220738dbf68561bc19d7e0de","tests/wasm/imports.js":"4069b7cf12ae0cca30a1e92750d0715e782a5c795ff21c0d5aae738f726ae8b1","tests/wasm/imports.rs":"56cb87c812c1fb3f6573ca166caa483e97380433d10b1c86fc1237a191630fe1","tests/wasm/imports_2.js":"ab251fc0a0a1921c60d316160bc120fd97da3c3753804174cfda2f08ff43208d","tests/wasm/intrinsics.rs":"1eac40553375d1e5250a9242df19837d1b448296d53ceb41f842c80996e958e9","tests/wasm/js_keywords.js":"d247be675cc73540fea4b2e50bb2b7fcedb2b0d511d85be6fb646876d3025562","tests/wasm/js_keywords.rs":"6944d856346b528c321ac24b1f986e4858d22b37f8f24ad0d393fe7c4ac079d7","tests/wasm/js_objects.js":"a2be00dab58716e4cbbaeba4da8512ba924c39d3f1cb405ba769ab8a780ed7fc","tests/wasm/js_objects.rs":"86f77308ffacc9337d21f62671ce269e723468a53404d0679da43e5e95c90135","tests/wasm/jscast.js":"d678058645d2d370c45ec5fd5bc9b94612b1e70035a9e0f524c134369f06fe1d","tests/wasm/jscast.rs":"bd9041fd4f74cd69435f4d4be019a887d680d7fac86134e42954e94d7c1c5cab","tests/wasm/link_to.js":"b371f4c82da171ce5a3e21a6de172cd1c910a4ff26e021d1a7ede5bfd7829c40","tests/wasm/link_to.rs":"1cbc53a58cf0fb693a8e775c94e3cbebc68f2355d98f4ce972abc42ffd62d014","tests/wasm/linked_module.js":"412bcf020b68e7e5511f4def869cc3384c1e98b923a9b82e25748b40b5b6e640","tests/wasm/main.rs":"ab59340b8cc5d49f4e92df19d3ce04eb89358f481af476fc61e731e5e0c6e6d1","tests/wasm/math.js":"9deb196ab7ad3d5d1f98d7d0b6ee60cb125212a4a1281ba0141cc3713fdea892","tests/wasm/math.rs":"be9000d84c6b6b091455e3b20ee7f5a88dbcfc0d38db97fad3dd167970c4b4a3","tests/wasm/no_shims.rs":"6c44ce90e1fcb8d41a7c2d369ce7a2735ba5ce799dcf07b41cbc3ccaa2f27a6a","tests/wasm/node.js":"ec3a9500773c7f07a7bcf002e23aa3848be5208147c3d750281a1e1f6d899af1","tests/wasm/node.rs":"fe140900d7048353ce0e518a1e67dedb1928f0cf34c02514498184fd8aef10cc","tests/wasm/option.js":"0d0cba722045698e9621f2565acf854bf3085c8739622798085aaa6b58e3edbe","tests/wasm/option.rs":"d82123f7349e22873e636341a52e99e256213e77d4d7ab8450ba6379be2128b7","tests/wasm/optional_primitives.js":"37484639631e1c50bdc055a08babff18d4be9f7a9291f0f3395e1a7c519e5cac","tests/wasm/optional_primitives.rs":"502803cf27b78dd8a6c1d75ae954b71cc017f803486867a87c0474e5d53a6567","tests/wasm/owned.js":"645b47e87fe52e08fbc07951736ab29f4dbab20c051913dba6228b2a08bad0bd","tests/wasm/owned.rs":"99af8eb8c30485b028f37d24352e2db747a425a00ebfed29e02400d87c756f32","tests/wasm/result.js":"78212259f886d864885eca7599199434bd7abec915a2e7fa3b73dfe63284e15c","tests/wasm/result.rs":"a4a4486d3edb6e242d32a9f12916a6cb5d38e07f646f69969ece6838a351448c","tests/wasm/result_jserror.js":"3ea04e68937f15d869535b3bb119d8886dfcde3c16c12c4a18a995f358552154","tests/wasm/result_jserror.rs":"ae4cbd3362841d070722f99fa0dadaf3233661803c73c65a9e63746b58a72134","tests/wasm/rethrow.js":"0a495a8d1b735277e18cc3fc3edf8bd2a72586441d3884134182e5052786ab84","tests/wasm/rethrow.rs":"59dcf192c9e85b0d98031c135d2aa2eda4902a2bc5b740a9ddf1e75dc9cdd23e","tests/wasm/should_panic.rs":"234929575bc55d9181d49938518888cb273bd5f3b1c9f826f94ee8956f1f5584","tests/wasm/simple.js":"3890fa19585d031821e8db80de06593e8e5ce83c9ba8214fe1cef319e9c14fbb","tests/wasm/simple.rs":"79637e64b92c05f6b44b8d5ffe9b6cc014c9408dcb446a4a4de2a2dfed1fdde8","tests/wasm/slice.js":"2e3c42c6ebeb832f42e99e4f251817bd13083eff0b7c45c46fb4d7ab2aa740cd","tests/wasm/slice.rs":"6a70478061ed1abc92b30c3a72ac507ac5a533f90c9830a233458b25626be4cb","tests/wasm/structural.js":"ac504a1dbb7222c70270530a284eec56ace0bc47b95e8f9331f4b2df1d28c3f9","tests/wasm/structural.rs":"dda0e9cea09b94dd84ae39d6cf0949aa305062b7a466fdcb53370f5ee9e3dff5","tests/wasm/truthy_falsy.rs":"26ef766eb5c3dcc7f507c519b6ac4a37b3ad901f3ed6f5274307c12e549b5fec","tests/wasm/usize.js":"521714b75033d9e18117de2cae2cd690c477faa88daefbbc82a09e60f4e901a8","tests/wasm/usize.rs":"b97455844d1f7acfbae7fcc69ec0bd8de871201281e802173a62574b8f3d7983","tests/wasm/validate_prt.js":"a726a85f4805648d9e69c804a266bbedaed942228a1b3a46274a91bcb83eafe9","tests/wasm/validate_prt.rs":"cea3db07f10d2bf057af99b90655179371bccf1db67e7364d476b00ecbf24a93","tests/wasm/variadic.js":"30d3bb656c0eb29b69c7e653f3201b5210b8a78e962b4678336c4d9889182adb","tests/wasm/variadic.rs":"1cabd34ad64475cc705853a2b9a8f619f6aed6ee3f3d8179793f8198df1ac178","tests/wasm/vendor_prefix.js":"1424c7fea77fea13179a50030afeffdf4b277dcb6d7b1e5ce3eea681ec2c47f4","tests/wasm/vendor_prefix.rs":"eabd627e14e09ec637d7e7a5b0bccced7e3370203351e4ce8610a5c66fac502b","tests/worker/main.rs":"d9b95299c50c40ee7a5035710c95846e33ed7f52bdfd75c4aaadc4691ad97dd5","tests/worker/modules.js":"a407c81d2670309ed484adf98a2e522f6ea031b1286416eb7bf184df7433d5da","tests/worker/modules.rs":"7eeb46835d911868842a3e7434fc2c6d0e042943eb10e7ad76336065cdf18db7","webdriver.json":"41a86a9f78e1e520b2050e122da97c80a32e6e292e874fd8892e3eef1a75ed34"},"package":"7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"} \ No newline at end of file
diff --git a/vendor/wasm-bindgen/CHANGELOG.md b/vendor/wasm-bindgen/CHANGELOG.md
index 2c9061bc7..97b1f01ad 100644
--- a/vendor/wasm-bindgen/CHANGELOG.md
+++ b/vendor/wasm-bindgen/CHANGELOG.md
@@ -1,6 +1,70 @@
# `wasm-bindgen` Change Log
--------------------------------------------------------------------------------
+## [0.2.87](https://github.com/rustwasm/wasm-bindgen/compare/0.2.86...0.2.87)
+
+Released 2023-06-12.
+
+### Added
+
+* Implemented `IntoIterator` for `Array`.
+ [#3477](https://github.com/rustwasm/wasm-bindgen/pull/3477)
+
+### Changed
+
+* Deprecate `HtmlMenuItemElement` and parts of `HtmlMenuElement`.
+ [#3448](https://github.com/rustwasm/wasm-bindgen/pull/3448)
+
+* Stabilize `ResizeObserver`.
+ [#3459](https://github.com/rustwasm/wasm-bindgen/pull/3459)
+
+### Fixed
+
+* Take alignment into consideration during (de/re)allocation.
+ [#3463](https://github.com/rustwasm/wasm-bindgen/pull/3463)
+
+--------------------------------------------------------------------------------
+
+## 0.2.86
+
+Released 2023-05-16.
+
+[changes](https://github.com/rustwasm/wasm-bindgen/compare/0.2.85...0.2.86)
+
+--------------------------------------------------------------------------------
+
+## 0.2.85
+
+Released 2023-05-09.
+
+[changes](https://github.com/rustwasm/wasm-bindgen/compare/0.2.84...0.2.85)
+
+--------------------------------------------------------------------------------
+
+## 0.2.84
+
+Released 2023-02-01.
+
+[changes](https://github.com/rustwasm/wasm-bindgen/compare/0.2.83...0.2.84)
+
+--------------------------------------------------------------------------------
+
+## 0.2.83
+
+Released 2022-09-12.
+
+[changes](https://github.com/rustwasm/wasm-bindgen/compare/0.2.82...0.2.83)
+
+--------------------------------------------------------------------------------
+
+## 0.2.82
+
+Released 2022-07-25.
+
+[changes](https://github.com/rustwasm/wasm-bindgen/compare/0.2.81...0.2.82)
+
+--------------------------------------------------------------------------------
+
## 0.2.81
Released 2022-06-14.
@@ -419,7 +483,7 @@ Released 2020-03-03.
tightended up a bit.
[#1987](https://github.com/rustwasm/wasm-bindgen/pull/1987)
-* The `self` identifier is no longe used on the `no-modules` target, making it a
+* The `self` identifier is no longer used on the `no-modules` target, making it a
bit more flexible in more environments.
[#1995](https://github.com/rustwasm/wasm-bindgen/pull/1995)
@@ -662,7 +726,7 @@ Released 2019-08-14.
* Add binding for `Element.getElementsByClassName`.
[#1665](https://github.com/rustwasm/wasm-bindgen/pull/1665)
-* `PartialEq` and `Eq` are now implementd for all `web-sys` types.
+* `PartialEq` and `Eq` are now implemented for all `web-sys` types.
[#1673](https://github.com/rustwasm/wasm-bindgen/pull/1673)
* The `wasm-bindgen-futures` crate now has support for futures when the
@@ -793,7 +857,7 @@ Released 2019-06-14.
* Bindings for `Array#flat` and `Array#flatMap` have been added.
[#1573](https://github.com/rustwasm/wasm-bindgen/pull/1573)
-* All `#[wasm_bindgen]` types now `AsRef` to themslves.
+* All `#[wasm_bindgen]` types now `AsRef` to themselves.
[#1583](https://github.com/rustwasm/wasm-bindgen/pull/1583)
* When using `--target web` the path passed to `init` is no longer required.
@@ -1117,7 +1181,7 @@ Released 2019-03-04.
landed and is enabled with `WASM_BINDGEN_ANYREF=1`.
[#1002](https://github.com/rustwasm/wasm-bindgen/pull/1002)
-* Support fot the new browser `TextEncode#encodeInto` API has been added.
+* Support for the new browser `TextEncode#encodeInto` API has been added.
[#1279](https://github.com/rustwasm/wasm-bindgen/pull/1279)
* JS doc comments are now added to TypeScript bindings in addition to the JS
diff --git a/vendor/wasm-bindgen/Cargo.toml b/vendor/wasm-bindgen/Cargo.toml
index dea74f066..7b21e8af1 100644
--- a/vendor/wasm-bindgen/Cargo.toml
+++ b/vendor/wasm-bindgen/Cargo.toml
@@ -11,8 +11,9 @@
[package]
edition = "2018"
+rust-version = "1.56"
name = "wasm-bindgen"
-version = "0.2.84"
+version = "0.2.87"
authors = ["The wasm-bindgen Developers"]
description = """
Easy support for interacting between JS and Rust.
@@ -23,6 +24,7 @@ readme = "README.md"
categories = ["wasm"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen"
+resolver = "2"
[package.metadata.docs.rs]
features = ["serde-serialize"]
@@ -42,7 +44,7 @@ version = "1.0"
optional = true
[dependencies.wasm-bindgen-macro]
-version = "=0.2.84"
+version = "=0.2.87"
[features]
default = [
@@ -50,6 +52,7 @@ default = [
"std",
]
enable-interning = ["std"]
+gg-alloc = ["wasm-bindgen-test/gg-alloc"]
serde-serialize = [
"serde",
"serde_json",
@@ -61,16 +64,16 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.js-sys]
-version = "0.3.61"
+version = "0.3.64"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.serde_derive]
version = "1.0"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-futures]
-version = "=0.4.34"
+version = "=0.4.37"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
-version = "=0.3.34"
+version = "=0.3.37"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test-crate-a]
version = "0.1"
diff --git a/vendor/wasm-bindgen/src/cast.rs b/vendor/wasm-bindgen/src/cast.rs
index 6be56a2d7..e462cf836 100644
--- a/vendor/wasm-bindgen/src/cast.rs
+++ b/vendor/wasm-bindgen/src/cast.rs
@@ -3,7 +3,7 @@ use crate::{describe::WasmDescribe, JsValue};
/// A trait for checked and unchecked casting between JS types.
///
/// Specified [in an RFC][rfc] this trait is intended to provide support for
-/// casting JS values between differnet types of one another. In JS there aren't
+/// casting JS values between different types of one another. In JS there aren't
/// many static types but we've ascribed JS values with static types in Rust,
/// yet they often need to be switched to other types temporarily! This trait
/// provides both checked and unchecked casting into various kinds of values.
diff --git a/vendor/wasm-bindgen/src/closure.rs b/vendor/wasm-bindgen/src/closure.rs
index c8d2ba225..a498d6d25 100644
--- a/vendor/wasm-bindgen/src/closure.rs
+++ b/vendor/wasm-bindgen/src/closure.rs
@@ -4,6 +4,8 @@
//! closures" from Rust to JS. Some more details can be found on the `Closure`
//! type itself.
+#![allow(clippy::fn_to_numeric_cast)]
+
use std::fmt;
use std::mem::{self, ManuallyDrop};
use std::prelude::v1::*;
diff --git a/vendor/wasm-bindgen/src/convert/closures.rs b/vendor/wasm-bindgen/src/convert/closures.rs
index 9137065a2..02527173d 100644
--- a/vendor/wasm-bindgen/src/convert/closures.rs
+++ b/vendor/wasm-bindgen/src/convert/closures.rs
@@ -1,3 +1,5 @@
+#![allow(clippy::fn_to_numeric_cast)]
+
use core::mem;
use crate::convert::slices::WasmSlice;
diff --git a/vendor/wasm-bindgen/src/convert/slices.rs b/vendor/wasm-bindgen/src/convert/slices.rs
index 58608b8c5..40ea6edc7 100644
--- a/vendor/wasm-bindgen/src/convert/slices.rs
+++ b/vendor/wasm-bindgen/src/convert/slices.rs
@@ -364,7 +364,7 @@ if_std! {
let ptr = <*mut JsValue>::from_abi(js.ptr);
let len = js.len as usize;
let vec: Vec<T> = Vec::from_raw_parts(ptr, len, len).drain(..).map(|js_value| T::unchecked_from_js(js_value)).collect();
- return vec.into_boxed_slice();
+ vec.into_boxed_slice()
}
}
diff --git a/vendor/wasm-bindgen/src/convert/traits.rs b/vendor/wasm-bindgen/src/convert/traits.rs
index 17b72a837..fe31aab63 100644
--- a/vendor/wasm-bindgen/src/convert/traits.rs
+++ b/vendor/wasm-bindgen/src/convert/traits.rs
@@ -120,9 +120,11 @@ pub trait OptionFromWasmAbi: FromWasmAbi {
/// An unsafe trait which represents types that are ABI-safe to pass via wasm
/// arguments.
///
+/// # Safety
+///
/// This is an unsafe trait to implement as there's no guarantee the type is
/// actually safe to transfer across the was boundary, it's up to you to
-/// guarantee this so codegen works correctly.
+/// guarantee this, so codegen works correctly.
pub unsafe trait WasmAbi {}
unsafe impl WasmAbi for u32 {}
@@ -132,7 +134,7 @@ unsafe impl WasmAbi for i64 {}
unsafe impl WasmAbi for f32 {}
unsafe impl WasmAbi for f64 {}
-/// A trait representing how to interepret the return value of a function for
+/// A trait representing how to interpret the return value of a function for
/// the wasm ABI.
///
/// This is very similar to the `IntoWasmAbi` trait and in fact has a blanket
diff --git a/vendor/wasm-bindgen/src/externref.rs b/vendor/wasm-bindgen/src/externref.rs
index a7e5f3ebc..340fdcbeb 100644
--- a/vendor/wasm-bindgen/src/externref.rs
+++ b/vendor/wasm-bindgen/src/externref.rs
@@ -43,7 +43,7 @@ impl Slab {
if self.base == 0 {
self.base = r as usize;
} else if self.base + self.data.len() != r as usize {
- internal_error("someone else allocated table entires?")
+ internal_error("someone else allocated table entries?")
}
// poor man's `try_reserve_exact` until that's stable
diff --git a/vendor/wasm-bindgen/src/lib.rs b/vendor/wasm-bindgen/src/lib.rs
index f8576ed4c..fd2feae6f 100644
--- a/vendor/wasm-bindgen/src/lib.rs
+++ b/vendor/wasm-bindgen/src/lib.rs
@@ -95,7 +95,7 @@ pub struct JsValue {
}
const JSIDX_OFFSET: u32 = 128; // keep in sync with js/mod.rs
-const JSIDX_UNDEFINED: u32 = JSIDX_OFFSET + 0;
+const JSIDX_UNDEFINED: u32 = JSIDX_OFFSET;
const JSIDX_NULL: u32 = JSIDX_OFFSET + 1;
const JSIDX_TRUE: u32 = JSIDX_OFFSET + 2;
const JSIDX_FALSE: u32 = JSIDX_OFFSET + 3;
@@ -103,31 +103,19 @@ const JSIDX_RESERVED: u32 = JSIDX_OFFSET + 4;
impl JsValue {
/// The `null` JS value constant.
- pub const NULL: JsValue = JsValue {
- idx: JSIDX_NULL,
- _marker: marker::PhantomData,
- };
+ pub const NULL: JsValue = JsValue::_new(JSIDX_NULL);
/// The `undefined` JS value constant.
- pub const UNDEFINED: JsValue = JsValue {
- idx: JSIDX_UNDEFINED,
- _marker: marker::PhantomData,
- };
+ pub const UNDEFINED: JsValue = JsValue::_new(JSIDX_UNDEFINED);
/// The `true` JS value constant.
- pub const TRUE: JsValue = JsValue {
- idx: JSIDX_TRUE,
- _marker: marker::PhantomData,
- };
+ pub const TRUE: JsValue = JsValue::_new(JSIDX_TRUE);
/// The `false` JS value constant.
- pub const FALSE: JsValue = JsValue {
- idx: JSIDX_FALSE,
- _marker: marker::PhantomData,
- };
+ pub const FALSE: JsValue = JsValue::_new(JSIDX_FALSE);
#[inline]
- fn _new(idx: u32) -> JsValue {
+ const fn _new(idx: u32) -> JsValue {
JsValue {
idx,
_marker: marker::PhantomData,
@@ -138,6 +126,7 @@ impl JsValue {
///
/// The utf-8 string provided is copied to the JS heap and the string will
/// be owned by the JS garbage collector.
+ #[allow(clippy::should_implement_trait)] // cannot fix without breaking change
#[inline]
pub fn from_str(s: &str) -> JsValue {
unsafe { JsValue::_new(__wbindgen_string_new(s.as_ptr(), s.len())) }
@@ -166,7 +155,7 @@ impl JsValue {
/// This function creates a JS object representing a boolean (a heap
/// allocated boolean) and returns a handle to the JS version of it.
#[inline]
- pub fn from_bool(b: bool) -> JsValue {
+ pub const fn from_bool(b: bool) -> JsValue {
if b {
JsValue::TRUE
} else {
@@ -176,13 +165,13 @@ impl JsValue {
/// Creates a new JS value representing `undefined`.
#[inline]
- pub fn undefined() -> JsValue {
+ pub const fn undefined() -> JsValue {
JsValue::UNDEFINED
}
/// Creates a new JS value representing `null`.
#[inline]
- pub fn null() -> JsValue {
+ pub const fn null() -> JsValue {
JsValue::NULL
}
@@ -620,10 +609,10 @@ impl TryFrom<&JsValue> for f64 {
#[inline]
fn try_from(val: &JsValue) -> Result<Self, Self::Error> {
let jsval = unsafe { JsValue::_new(__wbindgen_try_into_number(val.idx)) };
- return match jsval.as_f64() {
+ match jsval.as_f64() {
Some(num) => Ok(num),
None => Err(jsval),
- };
+ }
}
}
@@ -1082,6 +1071,7 @@ externs! {
fn __wbindgen_not(idx: u32) -> u32;
+ fn __wbindgen_exports() -> u32;
fn __wbindgen_memory() -> u32;
fn __wbindgen_module() -> u32;
fn __wbindgen_function_table() -> u32;
@@ -1308,17 +1298,31 @@ pub fn anyref_heap_live_count() -> u32 {
pub trait UnwrapThrowExt<T>: Sized {
/// Unwrap this `Option` or `Result`, but instead of panicking on failure,
/// throw an exception to JavaScript.
+ #[cfg_attr(debug_assertions, track_caller)]
fn unwrap_throw(self) -> T {
- self.expect_throw("`unwrap_throw` failed")
+ if cfg!(all(debug_assertions, feature = "std")) {
+ let loc = core::panic::Location::caller();
+ let msg = std::format!(
+ "`unwrap_throw` failed ({}:{}:{})",
+ loc.file(),
+ loc.line(),
+ loc.column()
+ );
+ self.expect_throw(&msg)
+ } else {
+ self.expect_throw("`unwrap_throw` failed")
+ }
}
/// Unwrap this container's `T` value, or throw an error to JS with the
/// given message if the `T` value is unavailable (e.g. an `Option<T>` is
/// `None`).
+ #[cfg_attr(debug_assertions, track_caller)]
fn expect_throw(self, message: &str) -> T;
}
impl<T> UnwrapThrowExt<T> for Option<T> {
+ #[cfg_attr(debug_assertions, track_caller)]
fn expect_throw(self, message: &str) -> T {
if cfg!(all(target_arch = "wasm32", not(target_os = "emscripten"))) {
match self {
@@ -1335,6 +1339,7 @@ impl<T, E> UnwrapThrowExt<T> for Result<T, E>
where
E: core::fmt::Debug,
{
+ #[cfg_attr(debug_assertions, track_caller)]
fn expect_throw(self, message: &str) -> T {
if cfg!(all(target_arch = "wasm32", not(target_os = "emscripten"))) {
match self {
@@ -1358,6 +1363,11 @@ pub fn module() -> JsValue {
unsafe { JsValue::_new(__wbindgen_module()) }
}
+/// Returns a handle to this wasm instance's `WebAssembly.Instance.prototype.exports`
+pub fn exports() -> JsValue {
+ unsafe { JsValue::_new(__wbindgen_exports()) }
+}
+
/// Returns a handle to this wasm instance's `WebAssembly.Memory`
pub fn memory() -> JsValue {
unsafe { JsValue::_new(__wbindgen_memory()) }
@@ -1374,6 +1384,7 @@ pub mod __rt {
use crate::JsValue;
use core::borrow::{Borrow, BorrowMut};
use core::cell::{Cell, UnsafeCell};
+ use core::convert::Infallible;
use core::ops::{Deref, DerefMut};
pub extern crate core;
@@ -1555,11 +1566,9 @@ pub mod __rt {
if_std! {
use std::alloc::{alloc, dealloc, realloc, Layout};
- use std::mem;
#[no_mangle]
- pub extern "C" fn __wbindgen_malloc(size: usize) -> *mut u8 {
- let align = mem::align_of::<usize>();
+ pub extern "C" fn __wbindgen_malloc(size: usize, align: usize) -> *mut u8 {
if let Ok(layout) = Layout::from_size_align(size, align) {
unsafe {
if layout.size() > 0 {
@@ -1577,8 +1586,7 @@ pub mod __rt {
}
#[no_mangle]
- pub unsafe extern "C" fn __wbindgen_realloc(ptr: *mut u8, old_size: usize, new_size: usize) -> *mut u8 {
- let align = mem::align_of::<usize>();
+ pub unsafe extern "C" fn __wbindgen_realloc(ptr: *mut u8, old_size: usize, new_size: usize, align: usize) -> *mut u8 {
debug_assert!(old_size > 0);
debug_assert!(new_size > 0);
if let Ok(layout) = Layout::from_size_align(old_size, align) {
@@ -1600,13 +1608,12 @@ pub mod __rt {
}
#[no_mangle]
- pub unsafe extern "C" fn __wbindgen_free(ptr: *mut u8, size: usize) {
+ pub unsafe extern "C" fn __wbindgen_free(ptr: *mut u8, size: usize, align: usize) {
// This happens for zero-length slices, and in that case `ptr` is
// likely bogus so don't actually send this to the system allocator
if size == 0 {
return
}
- let align = mem::align_of::<usize>();
let layout = Layout::from_size_align_unchecked(size, align);
dealloc(ptr, layout);
}
@@ -1667,7 +1674,7 @@ pub mod __rt {
};
GLOBAL_EXNDATA[0] = 0;
GLOBAL_EXNDATA[1] = 0;
- return ret;
+ ret
}
}
@@ -1728,6 +1735,42 @@ pub mod __rt {
}
}
}
+
+ /// An internal helper struct for usage in `#[wasm_bindgen(main)]`
+ /// functions to throw the error (if it is `Err`).
+ pub struct MainWrapper<T>(pub Option<T>);
+
+ pub trait Main {
+ fn __wasm_bindgen_main(&mut self);
+ }
+
+ impl Main for &mut &mut MainWrapper<()> {
+ #[inline]
+ fn __wasm_bindgen_main(&mut self) {}
+ }
+
+ impl Main for &mut &mut MainWrapper<Infallible> {
+ #[inline]
+ fn __wasm_bindgen_main(&mut self) {}
+ }
+
+ impl<E: Into<JsValue>> Main for &mut &mut MainWrapper<Result<(), E>> {
+ #[inline]
+ fn __wasm_bindgen_main(&mut self) {
+ if let Err(e) = self.0.take().unwrap() {
+ crate::throw_val(e.into());
+ }
+ }
+ }
+
+ impl<E: std::fmt::Debug> Main for &mut MainWrapper<Result<(), E>> {
+ #[inline]
+ fn __wasm_bindgen_main(&mut self) {
+ if let Err(e) = self.0.take().unwrap() {
+ crate::throw_str(&std::format!("{:?}", e));
+ }
+ }
+ }
}
/// A wrapper type around slices and vectors for binding the `Uint8ClampedArray`
diff --git a/vendor/wasm-bindgen/tests/non_wasm.rs b/vendor/wasm-bindgen/tests/non_wasm.rs
index 00c2a3961..dd7707323 100644
--- a/vendor/wasm-bindgen/tests/non_wasm.rs
+++ b/vendor/wasm-bindgen/tests/non_wasm.rs
@@ -14,7 +14,7 @@ impl A {
}
pub fn foo(&self) {
- drop(self.x);
+ assert_eq!(self.x, 3);
}
}
diff --git a/vendor/wasm-bindgen/tests/wasm/api.rs b/vendor/wasm-bindgen/tests/wasm/api.rs
index 26da4fc9a..b3c578706 100644
--- a/vendor/wasm-bindgen/tests/wasm/api.rs
+++ b/vendor/wasm-bindgen/tests/wasm/api.rs
@@ -82,14 +82,14 @@ pub fn api_mk_symbol() -> JsValue {
let a = JsValue::symbol(None);
assert!(a.is_symbol());
assert_eq!(format!("{:?}", a), "JsValue(Symbol)");
- return a;
+ a
}
#[wasm_bindgen]
pub fn api_mk_symbol2(s: &str) -> JsValue {
let a = JsValue::symbol(Some(s));
assert!(a.is_symbol());
- return a;
+ a
}
#[wasm_bindgen]
@@ -121,6 +121,7 @@ pub fn eq_test(a: &JsValue, b: &JsValue) -> bool {
}
#[wasm_bindgen]
+#[allow(clippy::eq_op)]
pub fn eq_test1(a: &JsValue) -> bool {
a == a
}
@@ -132,8 +133,8 @@ pub fn api_completely_variadic(args: &JsValue) -> JsValue {
#[wasm_bindgen(variadic)]
pub fn api_variadic_with_prefixed_params(
- first: &JsValue,
- second: &JsValue,
+ _first: &JsValue,
+ _second: &JsValue,
args: &JsValue,
) -> JsValue {
args.into()
diff --git a/vendor/wasm-bindgen/tests/wasm/classes.js b/vendor/wasm-bindgen/tests/wasm/classes.js
index bcb61e054..8e503c658 100644
--- a/vendor/wasm-bindgen/tests/wasm/classes.js
+++ b/vendor/wasm-bindgen/tests/wasm/classes.js
@@ -228,7 +228,7 @@ exports.js_test_inspectable_classes = () => {
assert.strictEqual(not_inspectable.toJSON, undefined);
assert.strictEqual(not_inspectable.toString(), '[object Object]');
// Non-inspectable classes in Node.js have no special console.log formatting
- assert.strictEqual(console_log_to_string(not_inspectable), `NotInspectable { ptr: ${not_inspectable.ptr} }`);
+ assert.strictEqual(console_log_to_string(not_inspectable), `NotInspectable { __wbg_ptr: ${not_inspectable.__wbg_ptr} }`);
inspectable.free();
not_inspectable.free();
};
diff --git a/vendor/wasm-bindgen/tests/wasm/classes.rs b/vendor/wasm-bindgen/tests/wasm/classes.rs
index 3588bb74c..9321ff92d 100644
--- a/vendor/wasm-bindgen/tests/wasm/classes.rs
+++ b/vendor/wasm-bindgen/tests/wasm/classes.rs
@@ -599,12 +599,12 @@ impl OverriddenInspectable {
}
#[wasm_bindgen(js_name = toJSON)]
- pub fn to_json(&self) -> String {
+ pub fn js_to_json(&self) -> String {
String::from("JSON was overwritten")
}
#[wasm_bindgen(js_name = toString)]
- pub fn to_string(&self) -> String {
+ pub fn js_to_string(&self) -> String {
String::from("string was overwritten")
}
}
diff --git a/vendor/wasm-bindgen/tests/wasm/closures.rs b/vendor/wasm-bindgen/tests/wasm/closures.rs
index e94ed2427..1061dab5a 100644
--- a/vendor/wasm-bindgen/tests/wasm/closures.rs
+++ b/vendor/wasm-bindgen/tests/wasm/closures.rs
@@ -510,7 +510,7 @@ fn test_closure_returner() {
Reflect::set(
&o,
&JsValue::from("someKey"),
- &some_fn.as_ref().unchecked_ref(),
+ some_fn.as_ref().unchecked_ref(),
)
.unwrap();
Reflect::set(
diff --git a/vendor/wasm-bindgen/tests/wasm/futures.rs b/vendor/wasm-bindgen/tests/wasm/futures.rs
index 7dfddf209..3679a0d48 100644
--- a/vendor/wasm-bindgen/tests/wasm/futures.rs
+++ b/vendor/wasm-bindgen/tests/wasm/futures.rs
@@ -93,9 +93,9 @@ pub struct AsyncCustomError {
pub val: JsValue,
}
-impl Into<JsValue> for AsyncCustomError {
- fn into(self) -> JsValue {
- self.val
+impl From<AsyncCustomError> for JsValue {
+ fn from(e: AsyncCustomError) -> Self {
+ e.val
}
}
diff --git a/vendor/wasm-bindgen/tests/wasm/import_class.rs b/vendor/wasm-bindgen/tests/wasm/import_class.rs
index 55cc1d1be..cd9b4cfb7 100644
--- a/vendor/wasm-bindgen/tests/wasm/import_class.rs
+++ b/vendor/wasm-bindgen/tests/wasm/import_class.rs
@@ -1,6 +1,7 @@
//! dox
#![deny(missing_docs)] // test that documenting public bindings is enough
+#![allow(clippy::redundant_clone)] // test specifically with cloned objects
use wasm_bindgen::prelude::*;
use wasm_bindgen_test::*;
@@ -124,11 +125,11 @@ extern "C" {
fn assert_internal_int(this: &InnerClass, i: u32);
}
-#[wasm_bindgen]
+#[wasm_bindgen(js_namespace = Math)]
extern "C" {
- #[wasm_bindgen(js_namespace = Math)]
+ #[wasm_bindgen]
fn random() -> f64;
- #[wasm_bindgen(js_namespace = Math)]
+ #[wasm_bindgen]
fn log(a: f64) -> f64;
}
@@ -173,7 +174,6 @@ fn rename_type() {
}
#[wasm_bindgen_test]
-#[cfg(ignored)] // TODO: fix this before landing
fn switch_methods() {
assert!(!switch_methods_called());
SwitchMethods::a();
diff --git a/vendor/wasm-bindgen/tests/wasm/imports.rs b/vendor/wasm-bindgen/tests/wasm/imports.rs
index 27e4a67dc..a9fbb33b7 100644
--- a/vendor/wasm-bindgen/tests/wasm/imports.rs
+++ b/vendor/wasm-bindgen/tests/wasm/imports.rs
@@ -33,6 +33,7 @@ extern "C" {
#[wasm_bindgen(js_name = pub)]
fn js_function_named_rust_keyword() -> u32;
+ #[allow(non_camel_case_types)]
type bar;
#[wasm_bindgen(js_namespace = bar, js_name = foo)]
static FOO: JsValue;
diff --git a/vendor/wasm-bindgen/tests/wasm/js_keywords.rs b/vendor/wasm-bindgen/tests/wasm/js_keywords.rs
index 57feed7a7..7a4eb4a1b 100644
--- a/vendor/wasm-bindgen/tests/wasm/js_keywords.rs
+++ b/vendor/wasm-bindgen/tests/wasm/js_keywords.rs
@@ -25,7 +25,7 @@ pub fn arg_is_keyword(class: u8) -> u8 {
}
#[wasm_bindgen]
-struct Class {
+pub struct Class {
name: String,
}
#[wasm_bindgen]
@@ -50,6 +50,6 @@ impl Class {
fn compile() {
js_keywords_compile();
assert_eq!(test_keyword_1_as_fn_name(1), 1);
- assert_eq!(test_keyword_2_as_fn_name(1, 2), false);
+ assert!(!test_keyword_2_as_fn_name(1, 2));
assert_eq!(test_keyword_as_fn_arg(1), 1);
}
diff --git a/vendor/wasm-bindgen/tests/wasm/js_objects.rs b/vendor/wasm-bindgen/tests/wasm/js_objects.rs
index 445d5329a..af97ad6ee 100644
--- a/vendor/wasm-bindgen/tests/wasm/js_objects.rs
+++ b/vendor/wasm-bindgen/tests/wasm/js_objects.rs
@@ -145,6 +145,7 @@ fn another_vector_string_return() {
#[cfg(feature = "serde-serialize")]
#[wasm_bindgen_test]
+#[allow(deprecated)]
fn serde() {
#[derive(Deserialize, Serialize)]
pub struct SerdeFoo {
@@ -172,12 +173,12 @@ fn serde() {
.unwrap(),
);
- let foo = ret.into_serde::<SerdeFoo>().unwrap();
- assert_eq!(foo.a, 2);
- assert_eq!(foo.b, "bar");
- assert!(foo.c.is_some());
- assert_eq!(foo.c.as_ref().unwrap().a, 3);
- assert_eq!(foo.d.a, 4);
+ let result = ret.into_serde::<SerdeFoo>().unwrap();
+ assert_eq!(result.a, 2);
+ assert_eq!(result.b, "bar");
+ assert!(result.c.is_some());
+ assert_eq!(result.c.as_ref().unwrap().a, 3);
+ assert_eq!(result.d.a, 4);
assert_eq!(JsValue::from("bar").into_serde::<String>().unwrap(), "bar");
assert_eq!(JsValue::undefined().into_serde::<i32>().ok(), None);
diff --git a/vendor/wasm-bindgen/tests/wasm/main.rs b/vendor/wasm-bindgen/tests/wasm/main.rs
index 987962c88..508a9ea1f 100644
--- a/vendor/wasm-bindgen/tests/wasm/main.rs
+++ b/vendor/wasm-bindgen/tests/wasm/main.rs
@@ -1,4 +1,6 @@
#![cfg(target_arch = "wasm32")]
+#![allow(renamed_and_removed_lints)] // clippy::drop_ref will be renamed to drop_ref
+#![allow(clippy::drop_ref, clippy::drop_non_drop)]
extern crate js_sys;
extern crate wasm_bindgen;
diff --git a/vendor/wasm-bindgen/tests/wasm/no_shims.rs b/vendor/wasm-bindgen/tests/wasm/no_shims.rs
index 2f9455ae2..f56701b69 100644
--- a/vendor/wasm-bindgen/tests/wasm/no_shims.rs
+++ b/vendor/wasm-bindgen/tests/wasm/no_shims.rs
@@ -22,7 +22,7 @@ use wasm_bindgen_test::*;
module.exports.incoming_u32 = function () { return 4294967295; };
module.exports.incoming_i32 = function () { return 0; };
module.exports.incoming_f32 = function () { return 1.5; };
- module.exports.incoming_f64 = function () { return 13.37; };
+ module.exports.incoming_f64 = function () { return Math.PI; };
module.exports.outgoing_u8 = function (k) { assert_eq(k, 255); };
module.exports.outgoing_i8 = function (i) { assert_eq(i, -127); };
@@ -30,12 +30,12 @@ use wasm_bindgen_test::*;
module.exports.outgoing_i16 = function (j) { assert_eq(j, 32767); };
module.exports.outgoing_i32 = function (x) { assert_eq(x, 0); };
module.exports.outgoing_f32 = function (y) { assert_eq(y, 1.5); };
- module.exports.outgoing_f64 = function (z) { assert_eq(z, 13.37); };
+ module.exports.outgoing_f64 = function (pi) { assert_eq(pi, Math.PI); };
- module.exports.many = function (x, y, z) {
+ module.exports.many = function (x, y, pi) {
assert_eq(x, 0);
assert_eq(y, 1.5);
- assert_eq(z, 13.37);
+ assert_eq(pi, Math.PI);
return 42;
};
@@ -45,8 +45,8 @@ use wasm_bindgen_test::*;
};
module.exports.MyNamespace = {};
- module.exports.MyNamespace.incoming_namespaced = function () { return 3.14; };
- module.exports.MyNamespace.outgoing_namespaced = function (pi) { assert_eq(3.14, pi); };
+ module.exports.MyNamespace.incoming_namespaced = function () { return 13.37; };
+ module.exports.MyNamespace.outgoing_namespaced = function (w) { assert_eq(13.37, w); };
")]
extern "C" {
#[wasm_bindgen(assert_no_shim)]
@@ -132,16 +132,16 @@ fn no_shims() {
assert_eq!(y, 1.5);
outgoing_f32(y);
- let z = incoming_f64();
- assert_eq!(z, 13.37);
- outgoing_f64(z);
+ let pi = incoming_f64();
+ assert_eq!(pi, std::f64::consts::PI);
+ outgoing_f64(pi);
- let w = many(x, y, z);
- assert_eq!(w, 42);
+ let z = many(x, y, pi);
+ assert_eq!(z, 42);
- let pi = incoming_namespaced();
- assert_eq!(pi, 3.14);
- outgoing_namespaced(pi);
+ let w = incoming_namespaced();
+ assert_eq!(w, 13.37);
+ outgoing_namespaced(w);
let b = incoming_bool();
assert!(b);
diff --git a/vendor/wasm-bindgen/tests/wasm/owned.rs b/vendor/wasm-bindgen/tests/wasm/owned.rs
index 7d51673a5..97e7d6fda 100644
--- a/vendor/wasm-bindgen/tests/wasm/owned.rs
+++ b/vendor/wasm-bindgen/tests/wasm/owned.rs
@@ -13,6 +13,7 @@ impl OwnedValue {
Self { n }
}
+ #[allow(clippy::should_implement_trait)] // traits unsupported by wasm_bindgen
pub fn add(self, other: OwnedValue) -> Self {
Self {
n: self.n + other.n,
diff --git a/vendor/wasm-bindgen/tests/wasm/result.rs b/vendor/wasm-bindgen/tests/wasm/result.rs
index c2c043ab8..3f30acc02 100644
--- a/vendor/wasm-bindgen/tests/wasm/result.rs
+++ b/vendor/wasm-bindgen/tests/wasm/result.rs
@@ -20,9 +20,9 @@ extern "C" {
fn error_new(message: &str) -> JsValue;
}
-impl Into<JsValue> for MyError {
- fn into(self) -> JsValue {
- error_new(&format!("{}", self))
+impl From<MyError> for JsValue {
+ fn from(e: MyError) -> Self {
+ error_new(&format!("{}", e))
}
}
@@ -87,7 +87,7 @@ impl Struct {
#[wasm_bindgen]
pub fn new_err() -> Result<Struct, MyError> {
- Err(MyError::Variant.into())
+ Err(MyError::Variant)
}
#[wasm_bindgen]
diff --git a/vendor/wasm-bindgen/tests/wasm/result_jserror.rs b/vendor/wasm-bindgen/tests/wasm/result_jserror.rs
index f714ac2f1..e0ecbac17 100644
--- a/vendor/wasm-bindgen/tests/wasm/result_jserror.rs
+++ b/vendor/wasm-bindgen/tests/wasm/result_jserror.rs
@@ -45,7 +45,7 @@ call_test!(test_ok, call_ok);
#[wasm_bindgen]
pub fn make_an_error() -> JsError {
- JsError::new("un-thrown error").into()
+ JsError::new("un-thrown error")
}
call_test!(test_make_an_error, call_make_an_error);
diff --git a/vendor/wasm-bindgen/tests/wasm/should_panic.rs b/vendor/wasm-bindgen/tests/wasm/should_panic.rs
new file mode 100644
index 000000000..6c0788b27
--- /dev/null
+++ b/vendor/wasm-bindgen/tests/wasm/should_panic.rs
@@ -0,0 +1,17 @@
+#[wasm_bindgen_test]
+#[should_panic]
+fn should_panic() {
+ panic!()
+}
+
+#[wasm_bindgen_test]
+#[should_panic = "error message"]
+fn should_panic_string() {
+ panic!("error message")
+}
+
+#[wasm_bindgen_test]
+#[should_panic(expected = "error message")]
+fn should_panic_expected() {
+ panic!("error message")
+}
diff --git a/vendor/wasm-bindgen/tests/wasm/simple.rs b/vendor/wasm-bindgen/tests/wasm/simple.rs
index 5f22b6ea9..db653847a 100644
--- a/vendor/wasm-bindgen/tests/wasm/simple.rs
+++ b/vendor/wasm-bindgen/tests/wasm/simple.rs
@@ -57,11 +57,9 @@ pub fn simple_return_and_take_bool(a: bool, b: bool) -> bool {
}
#[wasm_bindgen]
-pub fn simple_raw_pointers_work(a: *mut u32, b: *const u8) -> *const u32 {
- unsafe {
- (*a) = (*b) as u32;
- return a;
- }
+pub unsafe fn simple_raw_pointers_work(a: *mut u32, b: *const u8) -> *const u32 {
+ (*a) = (*b) as u32;
+ a
}
#[wasm_bindgen_test]
@@ -218,6 +216,7 @@ pub fn do_string_roundtrip(s: String) -> String {
}
#[wasm_bindgen_test]
+#[allow(clippy::redundant_clone)] // clone to increase heap live count
fn externref_heap_live_count() {
let x = wasm_bindgen::externref_heap_live_count();
let y = JsValue::null().clone();
diff --git a/vendor/wasm-bindgen/tests/wasm/slice.rs b/vendor/wasm-bindgen/tests/wasm/slice.rs
index 2f2457bc1..6e659ce6f 100644
--- a/vendor/wasm-bindgen/tests/wasm/slice.rs
+++ b/vendor/wasm-bindgen/tests/wasm/slice.rs
@@ -211,6 +211,7 @@ pub struct ReturnVecApplication {
#[wasm_bindgen]
impl ReturnVecApplication {
+ #[allow(clippy::vec_init_then_push)]
pub fn new() -> ReturnVecApplication {
let mut thing = vec![];
thing.push(0);
diff --git a/vendor/wasm-bindgen/tests/wasm/truthy_falsy.rs b/vendor/wasm-bindgen/tests/wasm/truthy_falsy.rs
index d04abb053..83657ca0a 100644
--- a/vendor/wasm-bindgen/tests/wasm/truthy_falsy.rs
+++ b/vendor/wasm-bindgen/tests/wasm/truthy_falsy.rs
@@ -3,26 +3,26 @@ use wasm_bindgen_test::*;
#[wasm_bindgen_test]
fn test_is_truthy() {
- assert_eq!(JsValue::from(0).is_truthy(), false);
- assert_eq!(JsValue::from("".to_string()).is_truthy(), false);
- assert_eq!(JsValue::from(false).is_truthy(), false);
- assert_eq!(JsValue::NULL.is_truthy(), false);
- assert_eq!(JsValue::UNDEFINED.is_truthy(), false);
+ assert!(!JsValue::from(0).is_truthy());
+ assert!(!JsValue::from("".to_string()).is_truthy());
+ assert!(!JsValue::from(false).is_truthy());
+ assert!(!JsValue::NULL.is_truthy());
+ assert!(!JsValue::UNDEFINED.is_truthy());
- assert_eq!(JsValue::from(10).is_truthy(), true);
- assert_eq!(JsValue::from("null".to_string()).is_truthy(), true);
- assert_eq!(JsValue::from(true).is_truthy(), true);
+ assert!(JsValue::from(10).is_truthy());
+ assert!(JsValue::from("null".to_string()).is_truthy());
+ assert!(JsValue::from(true).is_truthy());
}
#[wasm_bindgen_test]
fn test_is_falsy() {
- assert_eq!(JsValue::from(0).is_falsy(), true);
- assert_eq!(JsValue::from("".to_string()).is_falsy(), true);
- assert_eq!(JsValue::from(false).is_falsy(), true);
- assert_eq!(JsValue::NULL.is_falsy(), true);
- assert_eq!(JsValue::UNDEFINED.is_falsy(), true);
+ assert!(JsValue::from(0).is_falsy());
+ assert!(JsValue::from("".to_string()).is_falsy());
+ assert!(JsValue::from(false).is_falsy());
+ assert!(JsValue::NULL.is_falsy());
+ assert!(JsValue::UNDEFINED.is_falsy());
- assert_eq!(JsValue::from(10).is_falsy(), false);
- assert_eq!(JsValue::from("null".to_string()).is_falsy(), false);
- assert_eq!(JsValue::from(true).is_falsy(), false);
+ assert!(!JsValue::from(10).is_falsy());
+ assert!(!JsValue::from("null".to_string()).is_falsy());
+ assert!(!JsValue::from(true).is_falsy());
}
diff --git a/vendor/wasm-bindgen/tests/worker/main.rs b/vendor/wasm-bindgen/tests/worker/main.rs
new file mode 100644
index 000000000..16f358c08
--- /dev/null
+++ b/vendor/wasm-bindgen/tests/worker/main.rs
@@ -0,0 +1,18 @@
+#![cfg(target_arch = "wasm32")]
+
+extern crate js_sys;
+extern crate wasm_bindgen;
+extern crate wasm_bindgen_test;
+
+use wasm_bindgen::prelude::*;
+use wasm_bindgen_test::wasm_bindgen_test_configure;
+
+wasm_bindgen_test_configure!(run_in_worker);
+
+pub mod modules;
+
+// should not be executed
+#[wasm_bindgen(start)]
+fn start() {
+ panic!();
+}
diff --git a/vendor/wasm-bindgen/tests/worker/modules.js b/vendor/wasm-bindgen/tests/worker/modules.js
new file mode 100644
index 000000000..c6ce3f0eb
--- /dev/null
+++ b/vendor/wasm-bindgen/tests/worker/modules.js
@@ -0,0 +1,3 @@
+export function get_five() {
+ return 5;
+}
diff --git a/vendor/wasm-bindgen/tests/worker/modules.rs b/vendor/wasm-bindgen/tests/worker/modules.rs
new file mode 100644
index 000000000..37445ea1a
--- /dev/null
+++ b/vendor/wasm-bindgen/tests/worker/modules.rs
@@ -0,0 +1,12 @@
+use wasm_bindgen::prelude::*;
+use wasm_bindgen_test::*;
+
+#[wasm_bindgen(raw_module = "./tests/worker/modules.js")]
+extern "C" {
+ fn get_five() -> u32;
+}
+
+#[wasm_bindgen_test]
+fn test_get_five() {
+ assert_eq!(get_five(), 5);
+}
diff --git a/vendor/wasm-bindgen/webdriver.json b/vendor/wasm-bindgen/webdriver.json
new file mode 100644
index 000000000..84740385c
--- /dev/null
+++ b/vendor/wasm-bindgen/webdriver.json
@@ -0,0 +1,8 @@
+{
+ "moz:firefoxOptions": {
+ "prefs": {
+ "dom.workers.modules.enabled": true
+ },
+ "args": []
+ }
+}