Skip to content

Commit

Permalink
Update buck2 prelude to pull in new provider type syntax
Browse files Browse the repository at this point in the history
    From load at implicit location

    Caused by:
        0: From load at tools/buck/prelude/prelude.bzl:8
        1: From load at tools/buck/prelude/native.bzl:16
        2: From load at tools/buck/prelude/apple/apple_macro_layer.bzl:10
        3: From load at tools/buck/prelude/apple/apple_rules_impl_utility.bzl:16
        4: From load at tools/buck/prelude/cxx/omnibus.bzl:13
        5: From load at tools/buck/prelude/cxx/link.bzl:20
        6: From load at tools/buck/prelude/cxx/dist_lto/dist_lto.bzl:20
        7: Error parsing: `prelude//cxx/cxx_link_utility.bzl`
        8: error: `RunInfo.type` is not allowed in type expression, use `RunInfo` instead
              --> tools/buck/prelude/cxx/cxx_link_utility.bzl:188:51
               |
           188 | def cxx_link_cmd_parts(ctx: AnalysisContext) -> ((RunInfo.type | cmd_args), cmd_args):
               |                                                   ^^^^^^^
               |
  • Loading branch information
dtolnay committed Oct 6, 2023
1 parent f290194 commit 84edffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/buck/prelude
Submodule prelude updated 249 files

0 comments on commit 84edffd

Please sign in to comment.