Skip to content

Commit

Permalink
fix: don't try to declare swc toolchain for target platform (#9)
Browse files Browse the repository at this point in the history
The tool is only used in execution context. When this line is included, the build will fail when targetting QNX for example
  • Loading branch information
alexeagle authored Dec 18, 2021
1 parent 300e69c commit e0d5c19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion swc/private/toolchains_repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ resolved_toolchain(name = "resolved_toolchain", visibility = ["//visibility:publ
toolchain(
name = "{platform}_toolchain",
exec_compatible_with = {compatible_with},
target_compatible_with = {compatible_with},
toolchain = "@{user_repository_name}_{platform}//:swc_toolchain",
toolchain_type = "@aspect_rules_swc//swc:toolchain_type",
)
Expand Down

0 comments on commit e0d5c19

Please sign in to comment.