Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In 'cargo test' environments, the SvsmAllocator must not be made the global_allocator. However, the conditional setting of this attribute depends on the 'test' configuration predicate being set in 'cargo test' environments. This seems to not be working properly for documentation tests ([1]), and it's similar for the alternative 'doctest' predicate ([2]). As documentation tests currently don't play an important role for the project, just disable them alltogether until the cargo community has settled on a suitable alternative. [1] rust-lang/rust#45599 [2] rust-lang/rust#67295 Signed-off-by: Nicolai Stange <[email protected]>
- Loading branch information