()
| 37 | |
| 38 | |
| 39 | def main(): |
| 40 | parser = argparse.ArgumentParser( |
| 41 | description="Compile WebAssembly text files using wasm-as" |
| 42 | ) |
| 43 | parser.add_argument("input_file", help="Input .wat file to compile") |
| 44 | parser.add_argument("output_file", help="Output file name") |
| 45 | parser.add_argument("function_name", help="Name of the export function") |
| 46 | |
| 47 | args = parser.parse_args() |
| 48 | |
| 49 | return prepare_wasm(args.input_file, args.output_file, args.function_name) |
| 50 | |
| 51 | |
| 52 | if __name__ == "__main__": |
no test coverage detected
searching dependent graphs…