You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aid="rust_analyzer_toolchain-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
218
+
| <aid="rust_analyzer_toolchain-proc_macro_srv"></a>proc_macro_srv | The path to a <code>rust_analyzer_proc_macro_srv</code> binary. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
219
+
| <aid="rust_analyzer_toolchain-rustc"></a>rustc | THe path to a <code>rustc</code> binary. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
218
220
| <aid="rust_analyzer_toolchain-rustc_srcs"></a>rustc_srcs | The source code of rustc. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
219
221
220
222
@@ -1264,7 +1266,7 @@ A given instance of this rule should be accompanied by a toolchain_repository_pr
1264
1266
|<a id="rust_toolchain_tools_repository-repo_mapping"></a>repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry <code>"@foo": "@bar"</code> declares that, forany time this repository depends on <code>@foo</code> (such as a dependency on <code>@foo//some:target</code>, it should actually resolve that dependency within globally-declared <code>@bar</code> (<code>@bar//some:target</code>). |<a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a>| required ||
1265
1267
|<a id="rust_toolchain_tools_repository-rustfmt_version"></a>rustfmt_version | The version of the tool among "nightly", "beta", or an exact version. | String | optional |""|
1266
1268
|<a id="rust_toolchain_tools_repository-sha256s"></a>sha256s | A dict associating tool subdirectories to sha256 hashes. See [rust_repositories](#rust_repositories) for more details. | <a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | optional | {} |
1267
-
|<a id="rust_toolchain_tools_repository-target_triple"></a>target_triple | The Rust-style target that this compiler builds for| String | required ||
1269
+
|<a id="rust_toolchain_tools_repository-target_triple"></a>target_triple | The Rust-style target that this compiler builds for.| String | required ||
1268
1270
|<a id="rust_toolchain_tools_repository-urls"></a>urls | A list of mirror urls containing the tools from the Rust-lang static file server. These must contain the '{}' used to substitute the tool being fetched (using .format). | List of strings | optional | ["https://static.rust-lang.org/dist/{}.tar.gz"] |
1269
1271
|<a id="rust_toolchain_tools_repository-version"></a>version | The version of the tool among "nightly", "beta", or an exact version. | String | required ||
| <aid="rust_analyzer_toolchain-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/docs/build-ref.html#name">Name</a> | required ||
98
+
| <aid="rust_analyzer_toolchain-proc_macro_srv"></a>proc_macro_srv | The path to a <code>rust_analyzer_proc_macro_srv</code> binary. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
99
+
| <aid="rust_analyzer_toolchain-rustc"></a>rustc | THe path to a <code>rustc</code> binary. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
98
100
| <aid="rust_analyzer_toolchain-rustc_srcs"></a>rustc_srcs | The source code of rustc. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | required ||
Copy file name to clipboardExpand all lines: docs/rust_repositories.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ A given instance of this rule should be accompanied by a toolchain_repository_pr
171
171
| <aid="rust_toolchain_tools_repository-repo_mapping"></a>repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry <code>"@foo": "@bar"</code> declares that, for any time this repository depends on <code>@foo</code> (such as a dependency on <code>@foo//some:target</code>, it should actually resolve that dependency within globally-declared <code>@bar</code> (<code>@bar//some:target</code>). | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | required ||
172
172
| <aid="rust_toolchain_tools_repository-rustfmt_version"></a>rustfmt_version | The version of the tool among "nightly", "beta", or an exact version. | String | optional | "" |
173
173
| <aid="rust_toolchain_tools_repository-sha256s"></a>sha256s | A dict associating tool subdirectories to sha256 hashes. See [rust_repositories](#rust_repositories) for more details. | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | optional | {} |
174
-
| <aid="rust_toolchain_tools_repository-target_triple"></a>target_triple | The Rust-style target that this compiler builds for | String | required ||
174
+
| <aid="rust_toolchain_tools_repository-target_triple"></a>target_triple | The Rust-style target that this compiler builds for.| String | required ||
175
175
| <aid="rust_toolchain_tools_repository-urls"></a>urls | A list of mirror urls containing the tools from the Rust-lang static file server. These must contain the '{}' used to substitute the tool being fetched (using .format). | List of strings | optional |["https://static.rust-lang.org/dist/{}.tar.gz"]|
176
176
| <aid="rust_toolchain_tools_repository-version"></a>version | The version of the tool among "nightly", "beta", or an exact version. | String | required ||
0 commit comments