As mentioned [here](https://github.com/sunfishcode/origin/pull/113#issuecomment-2129081377) we should use the new check-cfg lint config instead of `#![allow(unexpected_cfgs)]`.