@@ -1379,7 +1379,8 @@ A test rule for performing `rustfmt --check` on a set of targets
1379
1379
1380
1380
< pre>
1381
1381
CrateInfo(< a href = " #CrateInfo-aliases" > aliases< / a> , < a href = " #CrateInfo-compile_data" > compile_data< / a> , < a href = " #CrateInfo-deps" > deps< / a> , < a href = " #CrateInfo-edition" > edition< / a> , < a href = " #CrateInfo-is_test" > is_test< / a> , < a href = " #CrateInfo-metadata" > metadata< / a> , < a href = " #CrateInfo-name" > name< / a> , < a href = " #CrateInfo-output" > output< / a> , < a href = " #CrateInfo-owner" > owner< / a> ,
1382
- < a href = " #CrateInfo-proc_macro_deps" > proc_macro_deps< / a> , < a href = " #CrateInfo-root" > root< / a> , < a href = " #CrateInfo-rustc_env" > rustc_env< / a> , < a href = " #CrateInfo-rustc_env_files" > rustc_env_files< / a> , < a href = " #CrateInfo-srcs" > srcs< / a> , < a href = " #CrateInfo-type" > type < / a> , < a href = " #CrateInfo-wrapped_crate_type" > wrapped_crate_type< / a> )
1382
+ < a href = " #CrateInfo-proc_macro_deps" > proc_macro_deps< / a> , < a href = " #CrateInfo-root" > root< / a> , < a href = " #CrateInfo-rust_lib_rustc_output" > rust_lib_rustc_output< / a> , < a href = " #CrateInfo-rust_metadata_rustc_output" > rust_metadata_rustc_output< / a> , < a href = " #CrateInfo-rustc_env" > rustc_env< / a> ,
1383
+ < a href = " #CrateInfo-rustc_env_files" > rustc_env_files< / a> , < a href = " #CrateInfo-srcs" > srcs< / a> , < a href = " #CrateInfo-type" > type < / a> , < a href = " #CrateInfo-wrapped_crate_type" > wrapped_crate_type< / a> )
1383
1384
< / pre>
1384
1385
1385
1386
A provider containing general Crate information.
@@ -1394,12 +1395,14 @@ A provider containing general Crate information.
1394
1395
| < a id = " CrateInfo-deps" >< / a> deps | depset[DepVariantInfo]: This crate' s (rust or cc) dependencies' providers. |
1395
1396
| < a id = " CrateInfo-edition" >< / a> edition | str : The edition of this crate. |
1396
1397
| < a id = " CrateInfo-is_test" >< / a> is_test | bool : If the crate is being compiled in a test context |
1397
- | < a id = " CrateInfo-metadata" >< / a> metadata | File: The rmeta file produced for this crate . It is optional. |
1398
+ | < a id = " CrateInfo-metadata" >< / a> metadata | File: The output from rustc from producing the output file . It is optional. |
1398
1399
| < a id = " CrateInfo-name" >< / a> name | str : The name of this crate. |
1399
1400
| < a id = " CrateInfo-output" >< / a> output | File: The output File that will be produced, depends on crate type . |
1400
1401
| < a id = " CrateInfo-owner" >< / a> owner | Label: The label of the target that produced this CrateInfo |
1401
1402
| < a id = " CrateInfo-proc_macro_deps" >< / a> proc_macro_deps | depset[DepVariantInfo]: This crate' s rust proc_macro dependencies' providers. |
1402
1403
| < a id = " CrateInfo-root" >< / a> root | File: The source File entrypoint to this crate, eg. lib.rs |
1404
+ | < a id = " CrateInfo-rust_lib_rustc_output" >< / a> rust_lib_rustc_output | File: The output from rustc from producing the output file . It is optional. |
1405
+ | < a id = " CrateInfo-rust_metadata_rustc_output" >< / a> rust_metadata_rustc_output | File: The rmeta file produced for this crate. It is optional. |
1403
1406
| < a id = " CrateInfo-rustc_env" >< / a> rustc_env | Dict[String, String]: Additional < code> " key" : " value" < / code> environment variables to set for rustc. |
1404
1407
| < a id = " CrateInfo-rustc_env_files" >< / a> rustc_env_files | [File]: Files containing additional environment variables to set for rustc. |
1405
1408
| < a id = " CrateInfo-srcs" >< / a> srcs | depset[File]: All source Files that are part of the crate. |
0 commit comments