We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dffe189 + 11b0ab7 commit 3e24714Copy full SHA for 3e24714
godot-ffi/src/binding/single_threaded.rs
@@ -149,7 +149,8 @@ impl BindingStorage {
149
150
// We only check if we are in the main thread in debug builds if we aren't building for a non-threaded Godot build,
151
// since we could otherwise assume there won't be multi-threading.
152
- #[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.
153
+ #[cfg(all(debug_assertions, not(wasm_nothreads), not(target_os = "android")))]
154
{
155
let main_thread_id = storage.main_thread_id.get().expect(
156
"Godot engine not available; make sure you are not calling it from unit/doc tests",
0 commit comments