Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Work-around-build-failure-with-newer-cbindgen.-bz-17.patch
set_config("CBINDGEN", cbindgen)
+set_define(
+ "CBINDGEN_0_24",
+ True,
+ when=depends(cbindgen)(
+ lambda c: Version(check_cmd_output(c, "--version").strip().split(" ")[1])
+ >= "0.24.0"
+ ),
+)
+
# Bindgen can use rustfmt to format Rust file, but it's not required.
option(env="RUSTFMT", nargs=1, help="Path to the rustfmt program")
struct WrPipelineIdAndEpoch;
using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>;
+#ifndef CBINDGEN_0_24
const uint64_t ROOT_CLIP_CHAIN = ~0;
+#endif
} // namespace wr
} // namespace mozilla