We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d68f4 commit de0f6c0Copy full SHA for de0f6c0
godot-ffi/src/binding/single_threaded.rs
@@ -147,7 +147,7 @@ impl BindingStorage {
147
148
// We only check if we are in the main thread in debug builds if we aren't building for a non-threaded Godot build,
149
// since we could otherwise assume there won't be multi-threading.
150
- #[cfg(all(debug_assertions, not(wasm_nothreads)))]
+ #[cfg(all(debug_assertions, not(wasm_nothreads), not(target_os = "android")))]
151
{
152
let main_thread_id = storage.main_thread_id.get().expect(
153
"Godot engine not available; make sure you are not calling it from unit/doc tests",
0 commit comments