aboutsummaryrefslogtreecommitdiff
path: root/crates/ngrep
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-10 21:00:22 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-10 21:05:06 +0100
commitc20c991dded87e22f6cb657cc52a0a80ea23f902 (patch)
tree59107c79488ee2d42dae2aeed233c0a791a4ceb5 /crates/ngrep
parent7c09adae9e2710aefccd25b2920ca684c714ef49 (diff)
downloadtools.nes-c20c991dded8.tar.gz
tools.nes-c20c991dded8.zip
Make errors from nasm itself more cohesive
The errors reported from the library had a slightly different format than those that happened in the main file for nasm. This is because in these cases we were just returning an Err type and Rust handles that through a special impl. Instead of going the route of type masturbation, let's go the C route and have a 'die' function that simply prints the message and calls exit(1), Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'crates/ngrep')
0 files changed, 0 insertions, 0 deletions