Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support no_std environments #3

Merged
merged 3 commits into from
Jan 15, 2022
Merged

Support no_std environments #3

merged 3 commits into from
Jan 15, 2022

Conversation

mkroening
Copy link
Contributor

Hi!

I'd like to depend on this project in libhermit-rs. libhermit-rs is a kernel and can't use std. This PR adds support for no_std environments (apart from dependency upgrades).

This is working fine for me locally.

What do you think? :)

@lienching lienching merged commit ed69e32 into lienching:main Jan 15, 2022
@mkroening mkroening deleted the no-std branch January 15, 2022 17:56
mkroening added a commit to mkroening/libhermit-rs that referenced this pull request Jan 24, 2022
pci-ids also uses phf, which should be faster than iterating all ids.

I added support for `no_std` [1] as well as classes [2] to the pci-ids crate.

[1]: lienching/pci-ids.rs#3
[2]: lienching/pci-ids.rs#11
mkroening added a commit to mkroening/libhermit-rs that referenced this pull request Jan 24, 2022
pci-ids also uses phf, which should be faster than iterating all ids.

I added support for `no_std` [1] as well as classes [2] to the pci-ids crate.

[1]: lienching/pci-ids.rs#3
[2]: lienching/pci-ids.rs#11
bors bot added a commit to hermit-os/kernel that referenced this pull request Jan 29, 2022
342: Replace pci_ids.rs with pci-ids crate r=stlankes a=mkroening

pci-ids also uses phf, which should be faster than iterating all ids.

I added support for `no_std` [1] as well as classes [2] to the pci-ids crate.

[1]: lienching/pci-ids.rs#3
[2]: lienching/pci-ids.rs#11

Co-authored-by: Martin Kröning <mkroening@posteo.net>
Co-authored-by: Stefan Lankes <stlankes@users.noreply.github.com>
bors bot added a commit to hermit-os/kernel that referenced this pull request Jan 29, 2022
342: Replace pci_ids.rs with pci-ids crate r=stlankes a=mkroening

pci-ids also uses phf, which should be faster than iterating all ids.

I added support for `no_std` [1] as well as classes [2] to the pci-ids crate.

[1]: lienching/pci-ids.rs#3
[2]: lienching/pci-ids.rs#11

Co-authored-by: Martin Kröning <mkroening@posteo.net>
Co-authored-by: Stefan Lankes <stlankes@users.noreply.github.com>
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.

None yet

2 participants