Fix no-std build.

This commit is contained in:
Stephen Chung
2022-03-28 12:53:49 +08:00
parent 6369fa5c65
commit 42b6796200
2 changed files with 1 additions and 9 deletions

View File

@@ -242,11 +242,6 @@ impl Engine {
}
});
}
#[cfg(any(feature = "no_std", target_family = "wasm"))]
{
engine.print = None;
engine.debug = None;
}
engine.register_global_module(StandardPackage::new().as_shared_module());