Setting cfg(nightly) on nightly by default

I’d like a nicer, more convenient syntax for it, too.

That’s partly why I’m arguing against it, here. Having to use build.rs is clunky, but maybe imposing a bit of separation and inconvenience isn’t a bad thing. I’ve seen some really horrific codebases using conditional compilation.

Plus, every time I try to imagine how to introduce named custom cfgs directly in Rust source, it starts to smell of Inner Platform Effect, at which point I go think about something else.

2 Likes