Skip to content

Commit df8f6c9

Browse files
committed
Add rdrand backend for Motor OS
1 parent 2e35077 commit df8f6c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/backends.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ cfg_if! {
149149
} else if #[cfg(target_os = "hermit")] {
150150
mod hermit;
151151
pub use hermit::*;
152+
} else if #[cfg(all(target_arch = "x86_64", target_os = "motor"))] {
153+
mod rdrand;
154+
pub use rdrand::*;
152155
} else if #[cfg(target_os = "vxworks")] {
153156
mod vxworks;
154157
pub use vxworks::*;

0 commit comments

Comments
 (0)