cfg predicates used for link-time configuration (#[link(cfg(predicate))] #37406 #72059) may want to use data that is available only long after the regular cfg expansion happens.
For example,
We can come up with some predicate value during regular cfg expansion, but it may be different from the predicate value that we really want at link time.
Is cfg(feature = "crt-static") ever used for regular cfg expansion?
It was created mostly with link-time configuration in mind.
We probably need to check it with crater.
cfgpredicates used for link-time configuration (#[link(cfg(predicate))]#37406 #72059) may want to use data that is available only long after the regularcfgexpansion happens.For example,
crt-static)We can come up with some predicate value during regular
cfgexpansion, but it may be different from the predicate value that we really want at link time.Is
cfg(feature = "crt-static")ever used for regularcfgexpansion?It was created mostly with link-time configuration in mind.
We probably need to check it with crater.