Skip to content

Commit e875b7a

Browse files
Wilfredmeta-codesync[bot]
authored andcommitted
Use exec_dep so we always run on the correct platform
Reviewed By: IanChilds, milend Differential Revision: D90319752 fbshipit-source-id: d5b2b2315d7798ed3d23cf21844b3653b2406337
1 parent 2e447db commit e875b7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prelude/apple/apple_rules_decls.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,8 +1240,8 @@ swift_toolchain = prelude_rule(
12401240
buck.licenses_arg() |
12411241
{
12421242
"architecture": attrs.string(),
1243-
"make_swift_comp_db": attrs.default_only(attrs.dep(providers = [RunInfo], default = "prelude//apple/tools:make_swift_comp_db")),
1244-
"make_swift_interface": attrs.default_only(attrs.dep(providers = [RunInfo], default = "prelude//apple/tools:make_swift_interface")),
1243+
"make_swift_comp_db": attrs.default_only(attrs.exec_dep(providers = [RunInfo], default = "prelude//apple/tools:make_swift_comp_db")),
1244+
"make_swift_interface": attrs.default_only(attrs.exec_dep(providers = [RunInfo], default = "prelude//apple/tools:make_swift_interface")),
12451245
"object_format": attrs.enum(SwiftObjectFormat.values(), default = "object"),
12461246
# A placeholder tool that can be used to set up toolchain constraints.
12471247
# Useful when fat and thin toolchahins share the same underlying tools via `command_alias()`,

0 commit comments

Comments
 (0)