Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/alloc: don't set global_allocator attribute for test builds
The SvsmAllocator is specific to the embedded SVSM environment and not functional on the 'cargo test' host environment. Make it the global_allocator only if the 'test' configuration predicate evaluates to false. Signed-off-by: Nicolai Stange <[email protected]>
- Loading branch information