File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 67
67
* Fix running coverage with no_modules.
68
68
[ #4604 ] ( https://github.com/wasm-bindgen/wasm-bindgen/pull/4604 )
69
69
70
+ * Fix proc-macro hygiene with ` core ` .
71
+ [ #4606 ] ( https://github.com/wasm-bindgen/wasm-bindgen/pull/4606 )
72
+
70
73
--------------------------------------------------------------------------------
71
74
72
75
## [ 0.2.100] ( https://github.com/wasm-bindgen/wasm-bindgen/compare/0.2.99...0.2.100 )
Original file line number Diff line number Diff line change @@ -1168,7 +1168,7 @@ impl ToTokens for ast::ImportType {
1168
1168
if !no_deref {
1169
1169
( quote ! {
1170
1170
#[ automatically_derived]
1171
- impl core:: ops:: Deref for #rust_name {
1171
+ impl #wasm_bindgen :: __rt :: core:: ops:: Deref for #rust_name {
1172
1172
type Target = #internal_obj;
1173
1173
1174
1174
#[ inline]
Original file line number Diff line number Diff line change
1
+ mod core { }
2
+
3
+ #[ wasm_bindgen_macro:: wasm_bindgen]
4
+ extern "C" {
5
+ type Foo ;
6
+ }
You can’t perform that action at this time.
0 commit comments