Add support for running tests in no_std mode.
This commit is contained in:
@@ -221,6 +221,7 @@ impl fmt::Display for AllocatableSet {
|
||||
mod tests {
|
||||
use super::*;
|
||||
use isa::registers::{RegClass, RegClassData};
|
||||
use std::vec::Vec;
|
||||
|
||||
// Register classes for testing.
|
||||
const GPR: RegClass = &RegClassData {
|
||||
|
||||
Reference in New Issue
Block a user