Skip to content

Commit

Permalink
Define default value for extra_target_triples (bazelbuild#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 20, 2020
1 parent 0369b8e commit 0deef6d
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 @@ -421,7 +421,7 @@ rust_toolchain_repository_proxy = repository_rule(
implementation = _rust_toolchain_repository_proxy_impl,
)

def rust_repository_set(name, version, exec_triple, extra_target_triples, iso_date = None, rustfmt_version = None):
def rust_repository_set(name, version, exec_triple, extra_target_triples = [], iso_date = None, rustfmt_version = None):
"""Assembles a remote repository for the given toolchain params, produces a proxy repository
to contain the toolchain declaration, and registers the toolchains.
Expand Down

0 comments on commit 0deef6d

Please sign in to comment.