I have a:
if cfg!(feature = "internal") {
// blah
}
I have it in two different different files -- in one everything works as expected, the other seems to be silently ignored. The only notable difference I can think of is that the latter one is within a lazy_static
block.
Is it expected that cfg!
within lazy_static!
not work?