Ed Pageepage@hachyderm.io
Jul 28, 2026, 9:07 PMAnyone using the rlibs generated by `cargo build`?
I'm looking into Cargo only treating rlibs as intermediate artifacts and not final artifacts, meaning that they would only be found in `build-dir` and not also the `target-dir` at paths like `target/release/foo.rlib`.
The problem with rlibs is that Cargo does not uplift any rlib dependencies to being final artifacts as well. This makes it so the only ways to successfully use rlibs are
- have no dependencies so when you build, all rlibs you care about are uplifted
- only use `build-dir` rlibs by monitoring json messages from cargo
As this seems broken, this should be fine within our compatibility guarantees to change but I am wondering if there is anything I am overlooking.