# wayland-scanner proc macros read the protocol XML at compile time. extra_srcs = ["**/*.xml"] # Run the crate build script (emits cfgs / OUT_DIR sources). [buildscript.run] # cargo sets OPT_LEVEL for every build script; buck2 does not, and cc-rs and # a number of configure scripts read it unconditionally. env = { OPT_LEVEL = "2" }