Skip to content

Commit

Permalink
Fix CI for Rust v1.80 (#4019)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Jul 28, 2024
1 parent e8b023c commit 869562c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/cli/tests/reference/anyref-import-catch.wat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
(type (;2;) (func (param i32)))
(type (;3;) (func (param i32) (result i32)))
(import "./reference_test_bg.js" "__wbindgen_init_externref_table" (func (;0;) (type 0)))
(func $__externref_table_dealloc (;1;) (type 2) (param i32))
(func $exported (;2;) (type 2) (param i32))
(func $exported (;1;) (type 2) (param i32))
(func $__externref_table_dealloc (;2;) (type 2) (param i32))
(func $__externref_table_alloc (;3;) (type 1) (result i32))
(func $__wbindgen_exn_store (;4;) (type 2) (param i32))
(func $__wbindgen_add_to_stack_pointer (;5;) (type 3) (param i32) (result i32))
Expand Down
3 changes: 3 additions & 0 deletions crates/js-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ wasm-bindgen = { path = "../..", version = "0.2.92" }
wasm-bindgen-test = { path = '../test', version = '=0.3.42' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.42' }
web-sys = { path = "../web-sys", version = "0.3.69", features = ["Headers", "Response", "ResponseInit"] }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(js_sys_unstable_apis)'] }
2 changes: 1 addition & 1 deletion crates/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn wasm_bindgen(attr: TokenStream, input: TokenStream) -> TokenStream {
/// The module can be specified in a few ways:
/// - You can use `inline_js = "..."` to create an inline JS file.
/// - You can use `module = "/foo/bar"` to reference a file relative to the
/// root of the crate the macro is invoked in.
/// root of the crate the macro is invoked in.
///
/// The returned URL can be used for things like creating workers/worklets:
/// ```no_run
Expand Down
3 changes: 3 additions & 0 deletions crates/web-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ js-sys = { path = '../js-sys', version = '0.3.69' }
wasm-bindgen-test = { path = '../test', version = '0.3.42' }
wasm-bindgen-futures = { path = '../futures', version = '0.4.42' }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }

# This list is auto-generated by the wasm-bindgen-webidl program
[features]
AbortController = []
Expand Down
3 changes: 3 additions & 0 deletions examples/webxr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ features = [
'XrSystem',
'console'
]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }

0 comments on commit 869562c

Please sign in to comment.