You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
55: Version 0.6.0 r=phil-opp a=phil-opp
The main change of this PR is to remove the `#[cfg(not(test))]` attribute from the `entry_point` macro. This makes it possible to use the macro together with custom test frameworks and `cargo xtest`. Since this is a breaking change, this PR bumps the version to 0.6.0.
This PR also adds two additional checks to the build script:
- check that the kernel exists early to provide a better error message
- check that the kernel has a non-empty text section
- an empty text section can occur if no entry point is set
- this turns a runtime error (bootloader panics when loading the kernel) into a compile time error
Co-authored-by: Philipp Oppermann <[email protected]>
0 commit comments