#115 cargo-inspector -BR lists non-Linux OS-specific dependencies
Closed: Duplicate 2 years ago by zbyszek. Opened 3 years ago by suve.

I'm trying to update desed to 1.2.0. In Cargo.toml, it has these lines:

[target."cfg(any(target_os=\"darwin\", target_os=\"dragonfly\", target_os=\"freebsd\", target_os=\"netbsd\", target_os=\"openbsd\"))".dependencies.kqueue]
version = "1.0.1"

[target."cfg(target_os = \"linux\")".dependencies.inotify]
version = "0.8.3"

When running cargo-inspector -BR, it prints all dependencies, including those limited to Darwin/BSDs.


Yeah, all Rust packages in fedora patch out non-linux dependencies manually, so it would be nice if we could work around this issue in macros somehow :(

Metadata Update from @zbyszek:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata