Skip to content

make data runtime-only to align with ecosystem normsΒ #2977

@ajwerner

Description

@ajwerner

In the current rules_rust rules, the data attribute is available both at compile time and at runtime whereas the compile_data is just available at runtime. There is no attribute that describes runtime-only dependencies. This is unfortunate; changing runtime dependencies shouldn't force a recompilation and relinking of an executable.

In order to align with the rest of the bazel ecosystem, we should change data to not be available at compile time. This will be a breaking change, but it's worth it.

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