Skip to content

Commit b2a2947

Browse files
authored
Remove --target-accelerator=NONE fallback (#77)
1 parent 759c0d2 commit b2a2947

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mojo/toolchain.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ def _mojo_toolchain_impl(ctx):
1414
gpu_toolchain = ctx.toolchains["//:gpu_toolchain_type"]
1515
if gpu_toolchain:
1616
copts.append("--target-accelerator=" + gpu_toolchain.mojo_gpu_toolchain_info.target_accelerator)
17-
else:
18-
copts.append("--target-accelerator=NONE")
1917

2018
is_macos = ctx.target_platform_has_constraint(ctx.attr._macos_constraint[platform_common.ConstraintValueInfo])
2119
if is_macos:

0 commit comments

Comments
 (0)