JonasKruckenberg / k23

Experimental WASM Microkernel Operating System
https://jonaskruckenberg.github.io/k23/
250 stars 9 forks source link

refactor: simplify panic setup #119

Closed JonasKruckenberg closed 2 weeks ago

JonasKruckenberg commented 2 weeks ago

This PR simplifies the overly convoluted previous setup with the panic-common, panic-abort and panic-unwind crates. The observation is that most crates are panic-strategy agnostic, the kernel and ktest depend on unwinding and only the loader depends on aborting. This PR therefore moves the unwinding behavior into the kernel since after #118 ktest already depends on other kernel runtime services and the aborting behavior is moved into the loader.