Unify -c and --make modes by pre-populating the HPT in -c
Most of the codepaths which are different for -c and --make mode could be unified if at the start of -c
compilation we preloaded the HPT with all
the home modules.
This can be achieved by performing a traversal starting from the imports of the module currently being compiled. Then all the discovered modules can be added to the HPT.. and things should "Just Work".
These interface files are going to be read already eventually so loading them a bit more eagerly shouldn't be an issue and simplifies some other things such as removing the need for the eps_is_boot field.
I quickly attempted to do this but it's more fiddly than I expected. My branch locally is called wip/hpt-oneshot
.