Skip to content

Commit 012b5e9

Browse files
authored
Update shim to unbreak OSS tests buck build (#8362)
Porting facebook/buck2-shims-meta@fe8b492 as a short-term measure until I figure out how to get us synced with that repo. Test Plan: buck2 build //runtime/test/... no longer fails with missing shim//:test error
1 parent 5dd2ed3 commit 012b5e9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

shim/BUCK

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("@prelude//platforms:defs.bzl", "execution_platform")
2+
load("@prelude//tests:test_toolchain.bzl", "noop_test_toolchain")
23
load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain")
34
load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain")
45
load("@prelude//toolchains:go.bzl", "system_go_toolchain")
@@ -8,6 +9,10 @@ load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain", "sy
89
load("@prelude//toolchains:remote_test_execution.bzl", "remote_test_execution_toolchain")
910
load("@prelude//toolchains:rust.bzl", "system_rust_toolchain")
1011

12+
# TODO: sync this directory with https://github.com/facebook/buck2-shims-meta.
13+
# Internal context:
14+
# https://fb.workplace.com/groups/222849770514616/posts/600883896044533/
15+
1116
oncall("executorch")
1217

1318
system_cxx_toolchain(
@@ -74,3 +79,8 @@ execution_platform(
7479
use_windows_path_separators = host_info().os.is_windows,
7580
visibility = ["PUBLIC"],
7681
)
82+
83+
noop_test_toolchain(
84+
name = "test",
85+
visibility = ["PUBLIC"],
86+
)

0 commit comments

Comments
 (0)