Closed
Description
I'm trying to vendor the sources for https://github.com/zed-industries/zed with cargo-vendor-filterer 0.5.16.
This is the configuration I'm adding to Config.toml
:
[workspace.metadata.vendor-filter]
platforms = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
all-features = true
I don't see any errors during the vendoring, but when I then try to build it using the vendored sources I get:
error: failed to load source for dependency `cpal`
Caused by:
Unable to update https://github.com/zed-industries/cpal?rev=fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50#fd8bc2fd
Caused by:
failed to update replaced source https://github.com/zed-industries/cpal?rev=fd8bc2fd39f1f5fdee5a0690656caff9a26d9d50#fd8bc2fd
Caused by:
failed to parse manifest at `/usr/src/tmp/zed-0.168.2/vendor/cxxbridge-cmd/Cargo.toml`
Caused by:
no targets specified in the manifest
either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present
Checking back at the vendoring, I do see that cxxbridge-cmd
is one of the dependencies getting replaced with stubs:
Replacing unreferenced package with stub: cxxbridge-cmd
Metadata
Metadata
Assignees
Labels
No labels
Activity