From 160e29eb9e7ef7d9c30a3e8417b73aa4ca9025a9 Mon Sep 17 00:00:00 2001 From: Matt Epperson Date: Tue, 2 Apr 2024 11:04:20 -0600 Subject: [PATCH] Regenerate documentation --- docs/flatten.md | 3 ++- docs/rust_repositories.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/flatten.md b/docs/flatten.md index 24c6baa973..ba796a0bdb 100644 --- a/docs/flatten.md +++ b/docs/flatten.md @@ -1180,7 +1180,7 @@ rust_toolchain(name, experimental_use_cc_common_link, extra_exec_rustc_flags, extra_rustc_flags, extra_rustc_flags_for_crate_types, global_allocator_library, llvm_cov, llvm_profdata, llvm_tools, opt_level, per_crate_rustc_flags, rust_doc, rust_std, rustc, rustc_lib, - rustfmt, staticlib_ext, stdlib_linkflags, target_json, target_triple) + rustfmt, staticlib_ext, stdlib_linkflags, strip_level, target_json, target_triple) Declares a Rust toolchain for use. @@ -1260,6 +1260,7 @@ See `@rules_rust//rust:repositories.bzl` for examples of defining the `@rust_cpu | rustfmt | **Deprecated**: Instead see [rustfmt_toolchain](#rustfmt_toolchain) | Label | optional | None | | staticlib_ext | The extension for static libraries created from rustc. | String | required | | | stdlib_linkflags | Additional linker flags to use when Rust standard library is linked by a C++ linker (rustc will deal with these automatically). Subject to location expansion with respect to the srcs of the rust_std attribute. | List of strings | required | | +| strip_level | Rustc strip levels. For all potential options, see https://doc.rust-lang.org/rustc/codegen-options/index.html#strip | Dictionary: String -> String | optional | {"dbg": "none", "fastbuild": "none", "opt": "debuginfo"} | | target_json | Override the target_triple with a custom target specification. For more details see: https://doc.rust-lang.org/rustc/targets/custom.html | String | optional | "" | | target_triple | The platform triple for the toolchains target environment. For more details see: https://docs.bazel.build/versions/master/skylark/rules.html#configurations | String | optional | "" | diff --git a/docs/rust_repositories.md b/docs/rust_repositories.md index 443b07a32d..2ea2add93e 100644 --- a/docs/rust_repositories.md +++ b/docs/rust_repositories.md @@ -41,7 +41,7 @@ rust_toolchain(name, experimental_use_cc_common_link, extra_exec_rustc_flags, extra_rustc_flags, extra_rustc_flags_for_crate_types, global_allocator_library, llvm_cov, llvm_profdata, llvm_tools, opt_level, per_crate_rustc_flags, rust_doc, rust_std, rustc, rustc_lib, - rustfmt, staticlib_ext, stdlib_linkflags, target_json, target_triple) + rustfmt, staticlib_ext, stdlib_linkflags, strip_level, target_json, target_triple) Declares a Rust toolchain for use. @@ -121,6 +121,7 @@ See `@rules_rust//rust:repositories.bzl` for examples of defining the `@rust_cpu | rustfmt | **Deprecated**: Instead see [rustfmt_toolchain](#rustfmt_toolchain) | Label | optional | None | | staticlib_ext | The extension for static libraries created from rustc. | String | required | | | stdlib_linkflags | Additional linker flags to use when Rust standard library is linked by a C++ linker (rustc will deal with these automatically). Subject to location expansion with respect to the srcs of the rust_std attribute. | List of strings | required | | +| strip_level | Rustc strip levels. For all potential options, see https://doc.rust-lang.org/rustc/codegen-options/index.html#strip | Dictionary: String -> String | optional | {"dbg": "none", "fastbuild": "none", "opt": "debuginfo"} | | target_json | Override the target_triple with a custom target specification. For more details see: https://doc.rust-lang.org/rustc/targets/custom.html | String | optional | "" | | target_triple | The platform triple for the toolchains target environment. For more details see: https://docs.bazel.build/versions/master/skylark/rules.html#configurations | String | optional | "" |