Closed
Description
In order to integrate the build products from cargo build
in other build systems, for each crate it would be useful to know:
- the pathname of the build product (the
.rlib
file, including the magic metadata string) - the metadata/
extra_filename
separately - dependency on other crates (which can probably be computed from other existing metadata, but doing so would require re-implementing what cargo is doing anyway, esp with feature-dependent dependencies)
- dependencies on native libraries
- perhaps other details from build scripts
This could fit into the #3000 infrastructure, but my purposes streaming output isn't really necessary (ie, a single blob of json at the end of successful compilation would be as good). But streaming should definitely be workable.
PR #3111 was an attempt at doing this, but it doesn't look like it's practical to do it independently from the actual build, esp because of things like #3102.
Metadata
Metadata
Assignees
Labels
No labels