I think you have MRs disabled in the rust-wide repo. You can cherry-pick this commit from my fork: https://salsa.debian.org/NoisyCoil/rust-wide/-/commit/c68a2e54b6bd231206a85a290b4da4e01ca72fbe.
Confusingly, while the `cfg` target checks run on the build machine, the `CARGO_CFG_TARGET_<whatever>` envvars report the target's configuration (see e.g. https://internals.rust-lang.org/t/futher-extensions-to-cfg-target-family-and-concerns-about-breakage/16313), so I used a single main function with string(ish) comparisons instead.