1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Files pulled in by include!/include_bytes!/include_str! that the
# default source globs miss.
extra_srcs = [
"data/mod.rs",
"data/normalizer_nfc_v1.rs.data",
"data/normalizer_nfd_data_v1.rs.data",
"data/normalizer_nfd_supplement_v1.rs.data",
"data/normalizer_nfd_tables_v1.rs.data",
"data/normalizer_nfkd_data_v1.rs.data",
"data/normalizer_nfkd_tables_v1.rs.data",
"data/normalizer_uts46_data_v1.rs.data",
]
# 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" }
|