Skip to content

Commit b4eda5f

Browse files
authored
Don't apply path rewriting rules for //executorch_models
Differential Revision: D66685959 Pull Request resolved: #7155
1 parent cf16b85 commit b4eda5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shim/xplat/executorch/build/runtime_wrapper.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _patch_executorch_references(targets, use_static_deps = False):
5959
return targets
6060
out_targets = []
6161
for target in targets:
62-
if target.startswith("//xplat/executorch"):
62+
if target.startswith("//xplat/executorch/") or target.startswith("//xplat/executorch:"):
6363
fail("References to executorch build targets must use " +
6464
"`//executorch`, not `//xplat/executorch`")
6565

0 commit comments

Comments
 (0)