From abc5c6bc505e6fe1e5afdbb73248e14199273508 Mon Sep 17 00:00:00 2001 From: Jason Boatman Date: Tue, 8 Apr 2025 11:33:48 -0500 Subject: [PATCH] Fix WASI build by not calling a non-existent function. (#4343) --- lib/binding_rust/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/binding_rust/lib.rs b/lib/binding_rust/lib.rs index d04bcb43..0143d1e2 100644 --- a/lib/binding_rust/lib.rs +++ b/lib/binding_rust/lib.rs @@ -1433,6 +1433,7 @@ impl Parser { impl Drop for Parser { fn drop(&mut self) { #[cfg(feature = "std")] + #[cfg(not(target_os = "wasi"))] { self.stop_printing_dot_graphs(); }