0
使用堆栈构建程序时,如何看到-ddump-rule-firings
的输出?使用堆栈构建Haskell程序时的ddump-rule-firingings输出
我已经在我的.cabal
文件添加到-ddump-rule-firings
和ghc-options
运行stack clean; stack build -v
。规则释放(以及来自ghc的任何其他输出)不包括在stack
的输出中。
正常的ghc输出似乎没有记录在.stack-work
目录中的任何地方。
其他开发商有encountered similar issues,但所提出的变化(增加一个--dump-logs
选项)似乎并没有实现:
>stack build --dump-logs
Invalid option `--dump-logs'
Usage: stack build [TARGET] [--dry-run] [--pedantic] [--fast]
[--ghc-options OPTION] [--flag PACKAGE:[-]FLAG]
([--dependencies-only] | [--only-snapshot] |
[--only-dependencies]) ([--file-watch] | [--file-watch-poll])
[--exec CMD [ARGS]] [--only-configure] [--trace] [--profile]
[--[no-]library-profiling] [--[no-]executable-profiling]
[--[no-]haddock] [--haddock-arguments HADDOCK_ARGS]
[--[no-]open] [--[no-]haddock-deps] [--[no-]copy-bins]
[--[no-]prefetch] [--[no-]keep-going] [--[no-]force-dirty]
[--[no-]test] [--[no-]rerun-tests]
[--test-arguments TEST_ARGS] [--coverage] [--no-run-tests]
[--[no-]bench] [--benchmark-arguments BENCH_ARGS]
[--no-run-benchmarks] [--[no-]reconfigure]
[--[no-]cabal-verbose] [--[no-]split-objs] [--help]
Build the package(s) in this directory/configuration