We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6d68f4 commit 11b0ab7Copy full SHA for 11b0ab7
godot-ffi/src/binding/single_threaded.rs
@@ -147,7 +147,8 @@ 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)))]
+ // TODO: figure out why the panic happens on Android, and how to resolve it. See https://github.com/godot-rust/gdext/pull/780.
151
+ #[cfg(all(debug_assertions, not(wasm_nothreads), not(target_os = "android")))]
152
{
153
let main_thread_id = storage.main_thread_id.get().expect(
154
"Godot engine not available; make sure you are not calling it from unit/doc tests",
0 commit comments