Skip to content

Commit

Permalink
Fix parsing errors with native.bzl
Browse files Browse the repository at this point in the history
Summary: Fixing the parser to address the issues seen in https://fburl.com/workplace/lo9kb68j.

Reviewed By: JakobDegen

Differential Revision: D68468923

fbshipit-source-id: 3e22b688db23c6737e1c196983604697c6393f30
  • Loading branch information
athmasagar authored and facebook-github-bot committed Jan 22, 2025
1 parent 35130bd commit 228f8ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prelude/native.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
# This is buck2's shim import. Any public symbols here will be available within
# **all** interpreted files.

load("@prelude//:is_full_meta_repo.bzl", "is_full_meta_repo")
load("@prelude//:paths.bzl", "paths")
load("@prelude//:rules.bzl", __rules__ = "rules")
load("@prelude//android:cpu_filters.bzl", "ALL_CPU_FILTERS", "CPU_FILTER_FOR_DEFAULT_PLATFORM")
load("@prelude//apple:apple_macro_layer.bzl", "apple_binary_macro_impl", "apple_bundle_macro_impl", "apple_library_macro_impl", "apple_package_macro_impl", "apple_test_macro_impl", "apple_universal_executable_macro_impl", "apple_xcuitest_macro_impl", "prebuilt_apple_framework_macro_impl")
load("@prelude//apple/swift:swift_toolchain_macro_layer.bzl", "swift_toolchain_macro_impl")
Expand All @@ -27,9 +30,6 @@ load("@prelude//user:all.bzl", _user_rules = "rules")
load("@prelude//utils:buckconfig.bzl", _read_config = "read_config_with_logging", _read_root_config = "read_root_config_with_logging", log_buckconfigs = "LOG_BUCKCONFIGS")
load("@prelude//utils:expect.bzl", "expect")
load("@prelude//utils:selects.bzl", "selects")
load(":is_full_meta_repo.bzl", "is_full_meta_repo")
load(":paths.bzl", "paths")
load(":rules.bzl", __rules__ = "rules")

def __struct_to_dict(s):
vals = {}
Expand Down

0 comments on commit 228f8ba

Please sign in to comment.