1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Files pulled in by include!/include_bytes!/include_str! that the
# default source globs miss.
extra_srcs = [
"docs/0.22-MIGRATION.md",
"docs/macros/bind_java_type_0_overview.md",
"docs/macros/bind_java_type_1_properties.md",
"docs/macros/bind_java_type_2_examples.md",
"docs/macros/bind_java_type_3_advanced.md",
"docs/macros/jni_mangle.md",
"docs/macros/jni_sig.md",
"docs/macros/jni_str.md",
"docs/macros/native_method.md",
]
# 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" }
|