Skip to content

CrateGroupInfo cannot provide CcInfo dependencies for experimental_cc_common_link #3786

@ObsidianMinor

Description

@ObsidianMinor

If you use a rust_library_group or rust_prost_library with a rust_binary using experimental_cc_common_link, the resulting link likely fails because the code for collecting the linking contexts for deps doesn't search any crate_group_info instances. rust_prost_library in particular always returns a CrateGroupInfo for its output, linking against it always fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions