Skip to content

Fix and enable uefi-raw unit/doc tests #816

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 2 commits into from
May 19, 2023

Conversation

nicholasbishop
Copy link
Member

@nicholasbishop nicholasbishop commented May 19, 2023

I missed enabling unit tests for uefi-raw before. This fixes that, and also fixes one error in the doctests.

Since the Revision type is visible from both uefi-raw and uefi, I also hid that line from the rendered docs.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

This was copied directly. from `uefi`, so the `use` is wrong. Turns out the
tests weren't being run for `uefi-raw` (fixed in the next commit).

Since this type is also re-exported in `uefi`, hide the `use` line to avoid
confusion about what path to import.
@phip1611 phip1611 merged commit 0592259 into rust-osdev:main May 19, 2023
@nicholasbishop nicholasbishop deleted the bishop-uefi-raw-tests branch May 19, 2023 14:46
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.

2 participants