Skip to content

Support usage in no_std contexts#6

Merged
thomcc merged 1 commit intothomcc:masterfrom
theseus-os:no_std
Nov 17, 2021
Merged

Support usage in no_std contexts#6
thomcc merged 1 commit intothomcc:masterfrom
theseus-os:no_std

Conversation

@kevinaboos
Copy link
Copy Markdown
Contributor

Sumary

In short, this crate already is no_std compatible, it just doesn't declare no_std in the root lib.rs. Adding that no_std declaration makes it usable in no_std projects.

Motivation

This crate is used widely in the wasmtime project, among others, which currently doesn't support no_std. However, I along with others are working to port it to no_std environments, and this crate is part of the puzzle.

Copy link
Copy Markdown
Owner

@thomcc thomcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'll do a release later today.

@thomcc thomcc merged commit 9709628 into thomcc:master Nov 17, 2021
@thomcc
Copy link
Copy Markdown
Owner

thomcc commented Nov 17, 2021

Hm, I guess bumping to 0.2.2 would bump the msrv (to whenever no_std was added), although at this point it's still old enough not to matter...

@thomcc
Copy link
Copy Markdown
Owner

thomcc commented Nov 17, 2021

Nevermind, published as v0.2.2.

@kevinaboos
Copy link
Copy Markdown
Contributor Author

Thanks! I agree, I don't think that no_std would affect the MSRV either, so you should be all good there.

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.

2 participants