added -p -c -l -o options to uw8 run command

This commit is contained in:
2021-11-26 23:45:29 +01:00
parent fcf24110c5
commit 0cb169d62e
11 changed files with 321 additions and 17 deletions

View File

@@ -195,7 +195,7 @@ impl BaseModule {
pub fn create_binary(path: &Path) -> Result<()> {
let base1 = BaseModule::for_format_version(1)?.to_wasm();
let data = upkr::pack(&base1);
let data = upkr::pack(&base1, 4, None);
File::create(path)?.write_all(&data)?;
Ok(())
}