From 11a3709d3b28c2fc89778e46b4e8727ebc86ebac Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 26 Jun 2025 11:52:13 +0200 Subject: ["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. --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') 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. | -- cgit v1.2.3