#!/bin/bash

uvx --from git+https://github.com/riscv/riscv-opcodes.git riscv_opcodes 'rv*' -rust
rm instr_dict.json
mv inst.rs src/lib.rs

# Currently I manually added `pub`. This should be fixed by https://github.com/riscv/riscv-opcodes/pull/399
