Rustc does not produce object files we can reuse to build both libraries. Ideally this should be done with a single target that has both `--crate-type` arguments instead of having 2 different build rules. As temporary workaround, build twice and ensure they don't get conflicts in intermediary files created by rustc by passing target's private directory as --out-dir. See https://github.com/rust-lang/rust/issues/111083.pull/12276/head
parent
7321f01678
commit
dbf081c9ce
2 changed files with 6 additions and 3 deletions
Loading…
Reference in new issue