dtolnay / inventory

Typed distributed plugin registration
Apache License 2.0
948 stars 43 forks source link

no_std support #26

Closed andreafioraldi closed 2 years ago

andreafioraldi commented 3 years ago

Any chance to have this library working with no_std?

I guess ctor can be avoided when compiled with no_std, the library can expose a function that must be called as first function in main().

dtolnay commented 2 years ago

I would prefer not to do this. The linkme crate is a more appropriate way to handle a no_std use case.