This is a sample Cargo package to test gnrt's dependency resolution. The
output of cargo metadata is recorded and used as test data.
tools/crates/gnrt/lib/test_metadata4.json is generated by the output of
running cargo metadata --format-version 1 in this directory.
This directory tries to repro the condition captured in
https://crbug.com/434775220: there is a target-arch-conditional dependency from
local package foo to the prost-derive crate (which in turn depends in
anyhow, itertools, etc.).
- Such target-arch-condition should have no impact on
itertools(because theprost-derive=>itertoolsdependency is on host side) - Such target-arch-condition should have no impact on whether
prost-derivetarget is present (i.e. on thecargo_crate.gni'senabledproperty). This is becauseenabledis calculated on host side.