We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e4e596 commit dc0a748Copy full SHA for dc0a748
crates/loadable/src/lib.rs
@@ -37,6 +37,17 @@ pub fn __rust_alloc_error_handler(_: core::alloc::Layout) -> ! {
37
core::intrinsics::abort()
38
}
39
40
+#[cfg(target_family = "wasm")]
41
+#[no_mangle]
42
+static __rust_alloc_error_handler_should_panic: u8 = 0;
43
+
44
45
46
+static _CLOCK_PROCESS_CPUTIME_ID: i32 = 1;
47
48
49
50
+static _CLOCK_THREAD_CPUTIME_ID: i32 = 1;
51
52
// Not used, but must be defined in some cases. Most notably when using native sqlite3 and loading
53
// the extension.
0 commit comments