Skip to content

Version 0.6.0 #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 26, 2019
Merged

Version 0.6.0 #55

merged 5 commits into from
Apr 26, 2019

Conversation

phil-opp
Copy link
Member

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

@phil-opp
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Apr 26, 2019
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]>
@bors
Copy link
Contributor

bors bot commented Apr 26, 2019

Build succeeded

  • rust-osdev.bootloader

@bors bors bot merged commit e5cc7fb into master Apr 26, 2019
@bors bors bot deleted the next-version branch April 26, 2019 09:01
@phil-opp
Copy link
Member Author

Published as version 0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant