Skip to content

RNG support in libcore #353

Closed
Closed
@tarcieri

Description

@tarcieri

Of interest to this WG are some developments on rust-random, namely the new getrandom crate and plans to integrate it into std:

rust-random/getrandom#21

There's an open issue about no_std support for getrandom in general, including various ways it could potentially be integrated into core instead of std:

rust-random/getrandom#4

One approach might be the addition of a new lang item.

Curious of anyone has thoughts on this for embedded device use cases. Since embedded-hal generally eschews global state for things like device peripherals, I'm wondering if the existing rand_core API may actually be a better fit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions