From 9fda3e417ef4334d04825d78f85fef8e9f2bd105 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) (cherry picked from commit abc5c6bc505e6fe1e5afdbb73248e14199273508) --- 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 5f6ca89f..3b9f9e8e 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(); }