Closed jsgf closed 3 months ago
Emit cargo::rustc-check-cfg=CHECK_CFG in build.rs so that they can be cross-checked even if cfg option itself isn't set.
cargo::rustc-check-cfg=CHECK_CFG
This is a subset of #205, aside from (I think) handling the riscv{ext} cfg flags better.
riscv{ext}
Ok rebased and just reduced to using a loop for per-ext checks.
Emit
cargo::rustc-check-cfg=CHECK_CFG
in build.rs so that they can be cross-checked even if cfg option itself isn't set.