Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
637
impl<
'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
643
fn exec_with_budget(
Callers
1
run_file
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected