For crates that only build on certain platforms it is convenient to use a cross compilation target. Setting up the default target almost works but a target specific dir would need to be pushed here:
Probably the easiest way to do this would be to allow passing down a target flag to cargo. If the target flag gets passed down, then the bitcode gets looked for in a non-default dir.
For crates that only build on certain platforms it is convenient to use a cross compilation target. Setting up the default target almost works but a target specific dir would need to be pushed here:
siderophile/src/callgraph_gen.rs
Line 109 in debb857
Probably the easiest way to do this would be to allow passing down a target flag to cargo. If the target flag gets passed down, then the bitcode gets looked for in a non-default dir.