File tree 2 files changed +7
-7
lines changed 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl Bindgen {
121
121
wasm_interface_types,
122
122
encode_into : EncodeInto :: Test ,
123
123
omit_default_module_path : true ,
124
- allow_links : false ,
124
+ allow_links : true ,
125
125
}
126
126
}
127
127
Original file line number Diff line number Diff line change 1
1
error: `link_to!` does not support module paths.
2
- --> $DIR /link-to.rs:10:37
2
+ --> ui-tests /link-to.rs:10:37
3
3
|
4
4
10 | wasm_bindgen::link_to!(module = "package/foo.js")
5
5
| ^^^^^^^^^^^^^^^^
6
6
7
7
error: `link_to!` does not support module paths.
8
- --> $DIR /link-to.rs:14:41
8
+ --> ui-tests /link-to.rs:14:41
9
9
|
10
10
14 | wasm_bindgen::link_to!(raw_module = "package/foo.js")
11
11
| ^^^^^^^^^^^^^^^^
12
12
13
- error: failed to read file `$WORKSPACE/target/tests/wasm-bindgen-macro/src/not-found.js`: No such file or directory (os error 2)
14
- --> $DIR /link-to.rs:18:37
13
+ error: failed to read file `$WORKSPACE/target/tests/trybuild/ wasm-bindgen-macro/src/not-found.js`: No such file or directory (os error 2)
14
+ --> ui-tests /link-to.rs:18:37
15
15
|
16
16
18 | wasm_bindgen::link_to!(module = "/src/not-found.js")
17
17
| ^^^^^^^^^^^^^^^^^^^
18
18
19
19
error: `link_to!` requires a module.
20
- --> $DIR /link-to.rs:22:5
20
+ --> ui-tests /link-to.rs:22:5
21
21
|
22
22
22 | wasm_bindgen::link_to!()
23
23
| ^^^^^^^^^^^^^^^^^^^^^^^^
24
24
|
25
25
= note: this error originates in the macro `wasm_bindgen::link_to` (in Nightly builds, run with -Z macro-backtrace for more info)
26
26
27
27
error: unused wasm_bindgen attribute
28
- --> $DIR /link-to.rs:28:9
28
+ --> ui-tests /link-to.rs:28:9
29
29
|
30
30
28 | js_namespace = foo
31
31
| ^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments