Skip to content

Commit

Permalink
Don't apply path rewriting rules for //executorch_models
Browse files Browse the repository at this point in the history
Differential Revision: D66685959

Pull Request resolved: #7155
  • Loading branch information
GregoryComer authored Dec 3, 2024
1 parent cf16b85 commit b4eda5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shim/xplat/executorch/build/runtime_wrapper.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _patch_executorch_references(targets, use_static_deps = False):
return targets
out_targets = []
for target in targets:
if target.startswith("//xplat/executorch"):
if target.startswith("//xplat/executorch/") or target.startswith("//xplat/executorch:"):
fail("References to executorch build targets must use " +
"`//executorch`, not `//xplat/executorch`")

Expand Down

0 comments on commit b4eda5f

Please sign in to comment.