Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何获得stack build转储 GHC 核心的命令?我试过这个,无济于事:
stack build
stack build :hello_world --ghc-options '-ddump-simpl'
确保之前清理过,或者通过 stack 选项--force-dirty和 ghc 选项强制重新编译-fforce-recomp。
--force-dirty
-fforce-recomp
这些文件被转储在.stack-work/dist/.../build/hello_world/hello_world-tmp/.
.stack-work/dist/.../build/hello_world/hello_world-tmp/