Skip to content

Add support for #![no_std]#48

Open
ogoffart wants to merge 1 commit intosebcrozet:masterfrom
slint-ui:master
Open

Add support for #![no_std]#48
ogoffart wants to merge 1 commit intosebcrozet:masterfrom
slint-ui:master

Conversation

@ogoffart
Copy link

I'm working in a library that should be used on wasm and also on MCU platform with #[no_std].
I thought this crate would be a good fit to also have an Instant that can also work in #[no_std].

This allow to use Instant in no_std crate.
Added a Instant::from_duration that can be used to construct an instant
from a Duration when not using the Rust std lib

What do you think?

This allow to use Instant in no_std crate.
Added a Instant::from_duration that can be used to construct an instant
from a Duration when not using the Rust std lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant