Open
Description
I'm not sure how that feauter is handled by rustc (and cargo?).
My Nix-based build system (carnix) cannot build packages using it, because it has no way to tell a library declared in this way has to be used (I tried just grepping over the source files, but that fails because some modules might not get compiled, depending on the platform and features).
I'd like at least one of the following:
- help on what options I need to pass to rustc in order to compile these crates anyway,
- or a new command in cargo and/or in rustc to output flags for these files (such as
cargo:rustc-flags=…
) without compiling anything, that can then be passed to rustc to actually compile the crate.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity