Skip to content

Commit

Permalink
Small cleanup pass (#446)
Browse files Browse the repository at this point in the history
* Cleanup .bazelignore file
* Regenerate documentation
  • Loading branch information
UebelAndre authored Oct 15, 2020
1 parent f74744b commit 1d2ad1f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
13 changes: 2 additions & 11 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
# Docs
docs/bazel-bin
docs/bazel-docs
docs/bazel-out
docs/bazel-testlogs

# Examples
examples/bazel-bin
examples/bazel-examples
examples/bazel-out
examples/bazel-testlogs
docs
examples
4 changes: 2 additions & 2 deletions docs/flatten.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Rust rules

* [bazel_version](#bazel_version)
* [cargo_build_script](#cargo_build_script)
* [rust_benchmark](#rust_benchmark)
* [rust_binary](#rust_binary)
Expand Down Expand Up @@ -884,7 +883,8 @@ rust_toolchain_repository(<a href="#rust_toolchain_repository-name">name</a>, <a
<a href="#rust_toolchain_repository-iso_date">iso_date</a>, <a href="#rust_toolchain_repository-rustfmt_version">rustfmt_version</a>, <a href="#rust_toolchain_repository-sha256s">sha256s</a>, <a href="#rust_toolchain_repository-toolchain_name_prefix">toolchain_name_prefix</a>, <a href="#rust_toolchain_repository-version">version</a>)
</pre>

Composes a single workspace containing the toolchain components for compiling on a given platform to a series of target platforms.
Composes a single workspace containing the toolchain components for compiling on a given platform to a series of target platforms.

A given instance of this rule should be accompanied by a rust_toolchain_repository_proxy invocation to declare its toolchains to Bazel; the indirection allows separating toolchain selection from toolchain fetching.

**ATTRIBUTES**
Expand Down
3 changes: 2 additions & 1 deletion docs/rust_repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ rust_toolchain_repository(<a href="#rust_toolchain_repository-name">name</a>, <a
<a href="#rust_toolchain_repository-iso_date">iso_date</a>, <a href="#rust_toolchain_repository-rustfmt_version">rustfmt_version</a>, <a href="#rust_toolchain_repository-sha256s">sha256s</a>, <a href="#rust_toolchain_repository-toolchain_name_prefix">toolchain_name_prefix</a>, <a href="#rust_toolchain_repository-version">version</a>)
</pre>

Composes a single workspace containing the toolchain components for compiling on a given platform to a series of target platforms.
Composes a single workspace containing the toolchain components for compiling on a given platform to a series of target platforms.

A given instance of this rule should be accompanied by a rust_toolchain_repository_proxy invocation to declare its toolchains to Bazel; the indirection allows separating toolchain selection from toolchain fetching.

**ATTRIBUTES**
Expand Down
1 change: 0 additions & 1 deletion docs/rust_workspace.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Rust rules
* [rust_workspace](#rust_workspace)
* [bazel_version](#bazel_version)

<a id="#rust_workspace"></a>

Expand Down

0 comments on commit 1d2ad1f

Please sign in to comment.