# aws-lc-rs's build script only re-exports what aws-lc-sys published through # cargo's `links` metadata, and buck2 does not carry that between build # scripts: it asserts on the first `DEP_AWS_LC__INCLUDE` it finds and # panics with "missing DEP_AWS_LC_ include" when there is none. The name # encodes aws-lc-sys's `links = "aws_lc_0_43_0"`, and the value is the header # directory in that crate's own sources. # # Both halves name the version, and nothing here derives it: bumping aws-lc-sys # means editing this file, and the symptom of forgetting is that same panic. [buildscript.run] env = { DEP_AWS_LC_0_43_0_INCLUDE = "$(location :aws-lc-sys-0.43.0.crate)/include", OPT_LEVEL = "2" }