Skip to content

Co-existence of -opaque and normal binaries in the same context #6755

@rgrinberg

Description

@rgrinberg

To support fast builds, the dev profile uses -opaque to produce better rules for incremental compilation which produce slower binaries. The reliance on profiles to provide this feature is an unfortunate consequences of not wanting to setup more rules than necessary per context. Once we have proper support for rule streaming #5251, this limitation will not exist and we'll be able to have -opaque rules in the same profile.

Concretely, the new world would look like this:

  • We'll have a new native-opaque mode that sets up fast rules as --dev does today.
  • In the dev profile, these native-opaque artifacts will be considered best
  • In the release profile, the native artifacts will be considered best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalRFC's that are awaiting discussion to be accepted or rejected

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions