MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / directives

Method directives

crates/cli/src/wast_runner.rs:638–640  ·  view source on GitHub ↗
(&'a self)

Source from the content-addressed store, hash-verified

636
637impl<'a> WastBuffer<'a> {
638 pub fn directives(&'a self) -> wast::parser::Result<Vec<wast::WastDirective<'a>>> {
639 Ok(wast::parser::parse::<wast::Wast<'a>>(&self.buffer)?.directives)
640 }
641}
642
643fn exec_with_budget(

Callers 1

run_fileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected