cole14 / rust-elf

Library for parsing ELF files for Rust
Other
234 stars 45 forks source link

`no_std` support #19

Closed sylv256 closed 2 years ago

sylv256 commented 2 years ago

This crate can be very useful in environments where the standard library is not accessible (i.e. bootloaders and kernels).

cole14 commented 2 years ago

I've added a default std feature which can be disabled to provide for no_std builds. The parsing is tested and it builds just fine without std, but I haven't actually tried to build another crate that uses it in a no_std environment.

If you have any suggestions for improvements to the interface to make it more useful for these no_std environments (or run into any problems using it), please do open another issue! :)