Skip to content

Commit de22141

Browse files
authored
Remove leftover macro (#4326)
1 parent 94b2dc6 commit de22141

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

crates/backend/src/codegen.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ impl ToTokens for ast::Struct {
229229
#[automatically_derived]
230230
impl #wasm_bindgen::describe::WasmDescribe for #name {
231231
fn describe() {
232-
use #wasm_bindgen::__wbindgen_if_not_std;
233232
use #wasm_bindgen::describe::*;
234233
inform(RUST_STRUCT);
235234
inform(#name_len);

src/lib.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,20 +1633,6 @@ pub mod __rt {
16331633
}
16341634
}
16351635

1636-
#[macro_export]
1637-
#[doc(hidden)]
1638-
#[cfg(feature = "std")]
1639-
macro_rules! __wbindgen_if_not_std {
1640-
($($i:item)*) => {};
1641-
}
1642-
1643-
#[macro_export]
1644-
#[doc(hidden)]
1645-
#[cfg(not(feature = "std"))]
1646-
macro_rules! __wbindgen_if_not_std {
1647-
($($i:item)*) => ($($i)*)
1648-
}
1649-
16501636
#[inline]
16511637
pub fn assert_not_null<T>(s: *mut T) {
16521638
if s.is_null() {

0 commit comments

Comments
 (0)