Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion godot-ffi/src/binding/single_threaded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ impl BindingStorage {

// We only check if we are in the main thread in debug builds if we aren't building for a non-threaded Godot build,
// since we could otherwise assume there won't be multi-threading.
#[cfg(all(debug_assertions, not(wasm_nothreads)))]
// TODO: figure out why the panic happens on Android, and how to resolve it. See https://github.com/godot-rust/gdext/pull/780.
#[cfg(all(debug_assertions, not(wasm_nothreads), not(target_os = "android")))]
{
let main_thread_id = storage.main_thread_id.get().expect(
"Godot engine not available; make sure you are not calling it from unit/doc tests",
Expand Down