Skip to content

Commit

Permalink
Bazel 1.0 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnedmonds committed Oct 10, 2019
1 parent 2fe4c61 commit 9a5295c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/private/transitions.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def _wasm_transition(settings, attr):
if attr.crate_type == "proc-macro":
return {"//command_line_option:platforms": "@bazel_tools//platforms:host_platform"}
return {"//command_line_option:platforms": "@local_config_platform//:host"}
else:
return settings

Expand Down

0 comments on commit 9a5295c

Please sign in to comment.