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

This commit is contained in:
Jason Boatman 2025-04-08 11:33:48 -05:00 committed by GitHub
parent 52d2865365
commit abc5c6bc50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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