summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-26 11:52:13 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-26 12:55:33 +0200
commit11a3709d3b28c2fc89778e46b4e8727ebc86ebac (patch)
tree4ae0cb86300182105141ef691017e6a5d1d8f5a3 /README.md
parentb590ae80ab6c2fc1e01f1baa9f48d6da0c7d0a70 (diff)
downloadrules-rust-11a3709d3b28c2fc89778e46b4e8727ebc86ebac.tar.gz
["cargo", "build_script"]: support "extra_data"
Build scripts often require additional data; therefore, extend the rule by a field "extra_data" that will be available when running the build script.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index b24091e..6b77398 100644
--- a/README.md
+++ b/README.md
@@ -160,6 +160,7 @@ provided by the "defaults" for the "HOST_ARCH".
| `"defaults"` | The Rust toolchain to use. |
| `"deps"` | Any other libraries this binary depends upon. |
| `"edition"` | The edition of the compiler to use during compilation. If unset, 2015 is used. |
+| `"extra_data"` | Extra files needed while running the build script. |
| `"name"` | The name of the crate being built. |
| `"pkg_name"` | The name of the package the crate belongs to. It is exported to the CARGO_PKG_NAME environment variable. |
| `"srcs"` | The source files of the binary. |