Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow cquery to filter out incompatible targets #12935

Commits on Feb 4, 2021

  1. Allow cquery to filter out incompatible targets

    This patch exposes the `IncompatiblePlatformProvider` to Starlark just
    enough that it can be used with `cquery`'s `platforms()` function. I
    added an example of this to the documentation. The motivation here is
    to let users filter out incompatible targets from queries that
    provide things like the list of targets to build for CI.
    
    This patch is minimal on purpose. It does not allow users to
    instantiate an `IncompatiblePlatformProvider` in Starlark. This may be
    added in a future patch to address a different use case.
    philsc committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    56170b4 View commit details
    Browse the repository at this point in the history