[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 4 commits: compiler: fix regression when compiling foreign stubs in the rts unit