diff options
author | 2018-09-07 00:58:29 +0200 | |
---|---|---|
committer | 2018-09-08 01:46:51 +0200 | |
commit | ca46815047dd5f23f9a46f6cda7cf6e1e638815e (patch) | |
tree | 97ce43183744bafb6207a5ab3becd34ab4ae789b /cortex-m-rt/tests/compile-fail/default-handler-bad-signature-1.rs | |
parent | f6902b4250203098a21d236a9935bcd4fa3e4c2b (diff) | |
download | cortex-m-ca46815047dd5f23f9a46f6cda7cf6e1e638815e.tar.gz cortex-m-ca46815047dd5f23f9a46f6cda7cf6e1e638815e.tar.zst cortex-m-ca46815047dd5f23f9a46f6cda7cf6e1e638815e.zip |
Use SmallRng instead of thread_rng which is not available on no_std
The RNG is seeded from the current time and an counter increasing with
each call to yield different random values on each invocation.
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/default-handler-bad-signature-1.rs')
0 files changed, 0 insertions, 0 deletions