diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-10 21:00:22 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-10 21:05:06 +0100 |
| commit | c20c991dded87e22f6cb657cc52a0a80ea23f902 (patch) | |
| tree | 59107c79488ee2d42dae2aeed233c0a791a4ceb5 /LICENSE.LESSER | |
| parent | 7c09adae9e2710aefccd25b2920ca684c714ef49 (diff) | |
| download | tools.nes-c20c991dded87e22f6cb657cc52a0a80ea23f902.tar.gz tools.nes-c20c991dded87e22f6cb657cc52a0a80ea23f902.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 'LICENSE.LESSER')
0 files changed, 0 insertions, 0 deletions
