Skip to content

Commit

Permalink
fix incorrectly set cfg flag
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman committed Sep 16, 2023
1 parent c18f2cc commit c22edcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rs/bundle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn panic(_info: &PanicInfo) -> ! {
#[lang = "eh_personality"]
extern "C" fn eh_personality() {}

#[cfg(all(not(target_family = "wasm"), not(feature = "test")))]
#[cfg(target_family = "wasm")]
#[no_mangle]
pub fn __rust_alloc_error_handler(_: Layout) -> ! {
core::intrinsics::abort()
Expand Down

0 comments on commit c22edcb

Please sign in to comment.