# Files pulled in by include!/include_bytes!/include_str! that the # default source globs miss. extra_srcs = [ "build/rustc.rs", ] # 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" }