Fix WASI build by not calling a non-existent function. (#4343)

(cherry picked from commit abc5c6bc50)
This commit is contained in:
Jason Boatman 2025-04-08 11:33:48 -05:00 committed by Christian Clason
parent d2914ca243
commit 9fda3e417e

View file

@ -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();
}