Skip to content

Commit 54e68e3

Browse files
committed
Fix unit tests.
The unit test code needs to see all the modules.
1 parent 50b993a commit 54e68e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cortex-r/src/register/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ pub use vmpidr::Vmpidr;
175175
pub use vpidr::Vpidr;
176176
pub use vsctlr::Vsctlr;
177177

178-
#[cfg(arm_architecture = "v8-r")]
178+
#[cfg(any(test, arm_architecture = "v8-r"))]
179179
pub mod armv8r;
180-
#[cfg(arm_architecture = "v8-r")]
180+
#[cfg(any(test, arm_architecture = "v8-r"))]
181181
pub use armv8r::*;
182182

183183
pub use imp::*;

0 commit comments

Comments
 (0)