I want to completely eliminate the dependency on std in my project so I disable the std feature in extern crates.
Somehow the final product is still linked to std, so I want to figure out which external crate is causing the linkage to std.
For standard shared libraries, this can be accomplished with ldd, but according to file, the rlib files in the deps directory are ar archives.
You can use cargo tree to get a tree graph of all the dependencies and sub-dependencies of your project. Then you can find out which crate requires std, and potentially look for solutions/alternatives.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With