Closed
Description
Since command line arguments to the compiler influence the code generated, changing them should also purge affected artifacts from the cache. It might be a good idea to treat them just like HIR or Metadata nodes and thus make them part of the regular dep-graph.
cfg
settings are a special case. Since they will affect the HIR being generated, they need not be considered for incr. comp. However, it might make sense to have separate caches for different sets of cfg
flags, iff we want to support these being changed frequently without having to recompile a lot. Although that might be a negligible use case.
A first step to implementing this is probably taking a survey of all command line options and seeing what they might affect.