Skip to content

Commit

Permalink
Remove leftover macro (#4326)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Dec 6, 2024
1 parent 94b2dc6 commit de22141
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion crates/backend/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ impl ToTokens for ast::Struct {
#[automatically_derived]
impl #wasm_bindgen::describe::WasmDescribe for #name {
fn describe() {
use #wasm_bindgen::__wbindgen_if_not_std;
use #wasm_bindgen::describe::*;
inform(RUST_STRUCT);
inform(#name_len);
Expand Down
14 changes: 0 additions & 14 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1633,20 +1633,6 @@ pub mod __rt {
}
}

#[macro_export]
#[doc(hidden)]
#[cfg(feature = "std")]
macro_rules! __wbindgen_if_not_std {
($($i:item)*) => {};
}

#[macro_export]
#[doc(hidden)]
#[cfg(not(feature = "std"))]
macro_rules! __wbindgen_if_not_std {
($($i:item)*) => ($($i)*)
}

#[inline]
pub fn assert_not_null<T>(s: *mut T) {
if s.is_null() {
Expand Down

0 comments on commit de22141

Please sign in to comment.