Skip to content

Commit b3d14d5

Browse files
committed
Fix is_main_thread being gated behind #[cfg(not(wasm_nothreads))] despite being necessary to build wasm nothread.
1 parent 517053d commit b3d14d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

godot-core/src/init/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ use crate::out;
1616

1717
pub use sys::GdextBuild;
1818

19+
pub use sys::is_main_thread;
1920
#[cfg(not(wasm_nothreads))]
20-
pub use sys::{is_main_thread, main_thread_id};
21+
pub use sys::main_thread_id;
2122

2223
#[doc(hidden)]
2324
#[deny(unsafe_op_in_unsafe_fn)]

0 commit comments

Comments
 (0)