diff --git a/docs/defs.md b/docs/defs.md index 60ecff4c9f..8df9bb53a7 100644 --- a/docs/defs.md +++ b/docs/defs.md @@ -9,6 +9,25 @@ * [rust_benchmark](#rust_benchmark) * [rust_test](#rust_test) * [rust_test_suite](#rust_test_suite) +* [error_format](#error_format) + + + +## error_format + +
+error_format(name)
+
+ +A helper rule for controlling the rustc [--error-format](https://doc.rust-lang.org/rustc/command-line-arguments.html#option-error-format) flag. + +**ATTRIBUTES** + + +| Name | Description | Type | Mandatory | Default | +| :------------- | :------------- | :------------- | :------------- | :------------- | +| name | A unique name for this target. | Name | required | | + diff --git a/docs/flatten.md b/docs/flatten.md index 51a1cb2f60..243bd77512 100644 --- a/docs/flatten.md +++ b/docs/flatten.md @@ -7,6 +7,7 @@ * [cargo_build_script](#cargo_build_script) * [crate](#crate) * [crate_universe](#crate_universe) +* [error_format](#error_format) * [fail_when_enabled](#fail_when_enabled) * [incompatible_flag](#incompatible_flag) * [rust_analyzer](#rust_analyzer) @@ -117,6 +118,24 @@ Environment Variables: | version | The version of cargo the resolver should use | String | optional | "1.54.0" | + + +## error_format + +
+error_format(name)
+
+ +A helper rule for controlling the rustc [--error-format](https://doc.rust-lang.org/rustc/command-line-arguments.html#option-error-format) flag. + +**ATTRIBUTES** + + +| Name | Description | Type | Mandatory | Default | +| :------------- | :------------- | :------------- | :------------- | :------------- | +| name | A unique name for this target. | Name | required | | + + ## fail_when_enabled