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
I just had a confusion when trying to run examples from the "main" branch with latest released uefi-rs crate 0.16.0.
It turns out that you cannot yet call open_protocol and just dereference the returned ScopedProtocol to the actual Protocol, because #434 didn't make it into 0.16.0.
What is even more confusing though is this attribute in the current "main" branch:
The replacement for accessing this field (Deref/DerefMut on
ScopedProtocol) isn't part of 0.16.0, so it isn't correct to mark the
field deprecated in that version. Bump to 0.17.0, which should be the
next version of uefi.
Fixesrust-osdev#484
The replacement for accessing this field (Deref/DerefMut on
ScopedProtocol) isn't part of 0.16.0, so it isn't correct to mark the
field deprecated in that version. Bump to 0.17.0, which should be the
next version of uefi.
Fixes#484
I just had a confusion when trying to run examples from the "main" branch with latest released uefi-rs crate 0.16.0.
It turns out that you cannot yet call
open_protocol
and just dereference the returnedScopedProtocol
to the actualProtocol
, because #434 didn't make it into 0.16.0.What is even more confusing though is this attribute in the current "main" branch:
uefi-rs/src/table/boot.rs
Lines 1399 to 1400 in d3206d6
Claiming that
ScopedProtocol::interface
was deprecated in 0.16.0 is wrong when it was actually only deprecated in "main".I don't know what your next release will be, but the attribute should first be updated to the version number of that release.
The text was updated successfully, but these errors were encountered: