Skip to content

Commit

Permalink
fix: use target_triple struct instead of string (#1835)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalandro authored Feb 16, 2023
1 parent bdbded1 commit 20ce44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def _rust_toolchain_tools_repository_impl(ctx):

# Not all target triples are expected to have dev components
if ctx.attr.dev_components:
load_rustc_dev_nightly(ctx, ctx.attr.target_triple)
load_rustc_dev_nightly(ctx, target_triple)

ctx.file("WORKSPACE.bazel", "")
ctx.file("BUILD.bazel", "\n".join(build_components))
Expand Down

0 comments on commit 20ce44e

Please sign in to comment.