riscv icon indicating copy to clipboard operation
riscv copied to clipboard

Fix nightly CI by adding --check-cfg flags

Open jsgf opened this issue 1 year ago • 1 comments

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.

jsgf avatar May 07 '24 01:05 jsgf

This is a subset of #205, aside from (I think) handling the riscv{ext} cfg flags better.

jsgf avatar May 07 '24 01:05 jsgf

Ok rebased and just reduced to using a loop for per-ext checks.

jsgf avatar May 07 '24 14:05 jsgf