Skip to content

uefi::helpers not found / Rust UEFI Book out of sync #1139

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

Closed
osteffenrh opened this issue Apr 19, 2024 · 2 comments
Closed

uefi::helpers not found / Rust UEFI Book out of sync #1139

osteffenrh opened this issue Apr 19, 2024 · 2 comments

Comments

@osteffenrh
Copy link

The UEFI app tutorial at https://rust-osdev.github.io/uefi-rs/HEAD/tutorial/app.html does not work with the current version of the uefi crate available from crates.io.
The book refers to the latest state of the source repo, and not what is published on creates.io, although it instructs to use cargo add uefi to add the crate.

The current crates.io version (0.27.0) does not have the uefi::helpers mod yet, and thus stuff does not build -- very confusing.

Maybe the Rust book needs to be versioned?
Or only rebuild it when the create is published to crates.io?

Yes, the README.md at the uefi-v0.27.0 tag points to a working example, but the documentation linked at crates.io also points to the Rust book, following HEAD instead of pointing to the correct version.

@phip1611
Copy link
Member

phip1611 commented Apr 19, 2024

Thanks for the report.

It's a duplicate of #1138.

We made that API change very recently. We should publish the new crate versions ASAP, @nicholasbishop . Then these kinds of problems will no longer occur, when people use the latest crates.

@phip1611
Copy link
Member

See #1140 - soon the problem will be gone :)

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

No branches or pull requests

2 participants