shepmaster / cupid

Get information about the x86 and x86_64 processor
MIT License
34 stars 9 forks source link

no_std support #25

Open BSFishy opened 2 years ago

BSFishy commented 2 years ago

I would really like to be able to use this crate in a no_std environment, but it doesn't support it. From what I can see, this crate doesn't actually use anything that's not provided by core, so I think it should be rather easy to just add a feature for std and switch which module is used depending on that.

shepmaster commented 2 years ago

Seems completely plausible — would you be interested in submitting a PR to that end?

BSFishy commented 2 years ago

Sure, I am a bit busy for a little bit, but I can try to get one submit in a few hours or sometime tomorrow.

shepmaster commented 2 years ago

in a few hours or sometime tomorrow.

no hurry needed; I might not be able to review until this weekend or the next, even 😉