Regardless of feature flags, Rust has a set of cfg predicates automatically enabled (see rustc --print cfg). We should generate this set, by storing the right options across systems and architectures. As long as the basic infrastructure is set up, we only need to fill in support for our common targets (e.g. x86_64 Linux).
At the end of the day, src/nameres/cfg.rs should have a function to generate this set. The actual system/architecture tables may need to go elsewhere (codegen will eventually rely on them too).
Regardless of feature flags, Rust has a set of `cfg` predicates automatically enabled (see `rustc --print cfg`). We should generate this set, by storing the right options across systems and architectures. As long as the basic infrastructure is set up, we only need to fill in support for our common targets (e.g. `x86_64` Linux).
At the end of the day, `src/nameres/cfg.rs` should have a function to generate this set. The actual system/architecture tables may need to go elsewhere (codegen will eventually rely on them too).