Skip to content

Commit

Permalink
More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Dec 15, 2024
1 parent 92308bd commit e5bb76e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rust/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ def rust_register_toolchains(
hub_name (str, optional): The name of the bzlmod hub repository for toolchains.
compact_windows_names (bool): Whether or not to produce compact repository names for windows
toolchains. This is to avoid MAX_PATH issues.
toolchain_triples (dict[str, str], optional): Mapping of rust target triple -> repository name to create.
extra_toolchain_infos: (dict[str, dict], optional): Mapping of information about extra toolchains which were created outside of this call, which should be added to the hub repo.
"""
if not rustfmt_version:
if len(versions) == 1:
Expand Down Expand Up @@ -1142,6 +1144,8 @@ def rust_repository_set(
aliases (dict): Replacement names to use for toolchains created by this macro.
compact_windows_names (bool): Whether or not to produce compact repository names for windows
toolchains. This is to avoid MAX_PATH issues.
Returns:
dict[str, dict]: A dict of informations about all generated toolchains.
"""

all_toolchain_details = {}
Expand Down

0 comments on commit e5bb76e

Please sign in to comment.