Separate out the wasm test into its own feature/binary.
This commit is contained in:
12
src/bin_wasm_test.rs
Normal file
12
src/bin_wasm_test.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
use wasm::wasm_parse_org;
|
||||
|
||||
mod error;
|
||||
mod wasm;
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let body = include_str!("/tmp/test.org");
|
||||
let result = wasm_parse_org(body);
|
||||
|
||||
println!("{}", serde_json::to_string(&result)?);
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user