diff --git a/docs/flatten.md b/docs/flatten.md index ed788a4aa9..ab062abbbf 100644 --- a/docs/flatten.md +++ b/docs/flatten.md @@ -1414,8 +1414,8 @@ A toolchain for [rustfmt](https://rust-lang.github.io/rustfmt/)
CrateInfo(aliases, compile_data, compile_data_targets, deps, edition, is_test, metadata, name, - output, owner, proc_macro_deps, root, rustc_env, rustc_env_files, srcs, type, - wrapped_crate_type) + output, owner, proc_macro_deps, root, rustc_env, rustc_env_files, rustc_output, + rustc_rmeta_output, srcs, type, wrapped_crate_type)A provider containing general Crate information. @@ -1431,7 +1431,7 @@ A provider containing general Crate information. | deps | depset[DepVariantInfo]: This crate's (rust or cc) dependencies' providers. | | edition | str: The edition of this crate. | | is_test | bool: If the crate is being compiled in a test context | -| metadata | File: The rmeta file produced for this crate. It is optional. | +| metadata | File: The output from rustc from producing the output file. It is optional. | | name | str: The name of this crate. | | output | File: The output File that will be produced, depends on crate type. | | owner | Label: The label of the target that produced this CrateInfo | @@ -1439,6 +1439,8 @@ A provider containing general Crate information. | root | File: The source File entrypoint to this crate, eg. lib.rs | | rustc_env | Dict[String, String]: Additional
"key": "value"
environment variables to set for rustc. |
| rustc_env_files | [File]: Files containing additional environment variables to set for rustc. |
+| rustc_output | File: The output from rustc from producing the output file. It is optional. |
+| rustc_rmeta_output | File: The rmeta file produced for this crate. It is optional. |
| srcs | depset[File]: All source Files that are part of the crate. |
| type | str: The type of this crate (see [rustc --crate-type](https://doc.rust-lang.org/rustc/command-line-arguments.html#--crate-type-a-list-of-types-of-crates-for-the-compiler-to-emit)). |
| wrapped_crate_type | str, optional: The original crate type for targets generated using a previously defined crate (typically tests using the rust_test::crate
attribute) |
diff --git a/docs/providers.md b/docs/providers.md
index d46d256417..4fecb09eba 100644
--- a/docs/providers.md
+++ b/docs/providers.md
@@ -11,8 +11,8 @@
CrateInfo(aliases, compile_data, compile_data_targets, deps, edition, is_test, metadata, name, - output, owner, proc_macro_deps, root, rustc_env, rustc_env_files, srcs, type, - wrapped_crate_type) + output, owner, proc_macro_deps, root, rustc_env, rustc_env_files, rustc_output, + rustc_rmeta_output, srcs, type, wrapped_crate_type)A provider containing general Crate information. @@ -28,7 +28,7 @@ A provider containing general Crate information. | deps | depset[DepVariantInfo]: This crate's (rust or cc) dependencies' providers. | | edition | str: The edition of this crate. | | is_test | bool: If the crate is being compiled in a test context | -| metadata | File: The rmeta file produced for this crate. It is optional. | +| metadata | File: The output from rustc from producing the output file. It is optional. | | name | str: The name of this crate. | | output | File: The output File that will be produced, depends on crate type. | | owner | Label: The label of the target that produced this CrateInfo | @@ -36,6 +36,8 @@ A provider containing general Crate information. | root | File: The source File entrypoint to this crate, eg. lib.rs | | rustc_env | Dict[String, String]: Additional
"key": "value"
environment variables to set for rustc. |
| rustc_env_files | [File]: Files containing additional environment variables to set for rustc. |
+| rustc_output | File: The output from rustc from producing the output file. It is optional. |
+| rustc_rmeta_output | File: The rmeta file produced for this crate. It is optional. |
| srcs | depset[File]: All source Files that are part of the crate. |
| type | str: The type of this crate (see [rustc --crate-type](https://doc.rust-lang.org/rustc/command-line-arguments.html#--crate-type-a-list-of-types-of-crates-for-the-compiler-to-emit)). |
| wrapped_crate_type | str, optional: The original crate type for targets generated using a previously defined crate (typically tests using the rust_test::crate
attribute) |