Closed
Description
While building doctests, neither the test
nor the doctest
features are enabled. This means features gated behind [cfg(test...)]
will not be available in doctests code. In virtio-queue
case, this has an impact on mock visibility and some Descriptor helper methods aren't available either.
This is being discussed by the Rust Community here.
For the time being, we can either ignore the affected doctests (descriptor::Descriptor (line 21)
and iterator::AvailIter (line 26)
) or ungate those features. Personally, I'm fine with either.
Metadata
Metadata
Assignees
Labels
No labels