hlorenzi / customasm

💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Apache License 2.0
704 stars 55 forks source link

Fixed filename in addrspan output #176

Closed NathanWilliams closed 9 months ago

NathanWilliams commented 1 year ago

I have been using customasm for my homebrew CPU, and it has been great! I recently updated to the latest version and found an issue with the addrspan file format.

It was putting a number (the file handle) in the output instead of the filename / path.

I'm not a Rust developer, but I made the change and tested it locally.

hlorenzi commented 1 year ago

Good catch! I forgot to change this line after the v0.13 overhaul. I should also add a test case for this output format so that we avoid similar problems in the future.