| Build under buck2, with the toolchain pinned rather than found 460541b nandi 19d ago | 1 | # Files pulled in by include!/include_bytes!/include_str! that the |
| 2 | # default source globs miss. |
| 3 | extra_srcs = [ |
| 4 | "build-common.rs", |
| 5 | "no_atomic.rs", |
| 6 | ] |
| 7 | |
| 8 | # Run the crate build script (emits cfgs / OUT_DIR sources). |
| Build both objects under buck2, against the BuildBuddy cache 600f207 nandi 19d ago | 9 | [buildscript.run] |
| 10 | # cargo sets OPT_LEVEL for every build script; buck2 does not, and cc-rs and |
| 11 | # a number of configure scripts read it unconditionally. |
| 12 | env = { OPT_LEVEL = "2" } |