xous-core/kernel/src/arch/hosted/rand.rs

7 lines
147 B
Rust
Raw Normal View History

2021-01-25 13:54:00 +00:00
// SPDX-FileCopyrightText: 2020 Sean Cross <sean@xobs.io>
// SPDX-License-Identifier: Apache-2.0
pub fn get_u32() -> u32 {
::rand::random()
}