堆栈尚未通过GHC和Cabal版本的测试


14

在我执行Haskell项目时stack run,它显示以下内容,但仍在运行。这是什么警告?我该如何摆脱呢?

Stack has not been tested with GHC versions above 8.6, and using 8.8.2, this may fail
Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail

6
这只是兼容性警告。下一stack版本应使用GHC 8.8进行测试,并且该警告应消失。在那之前,除非您想修改源,否则您几乎无能为力。
sjakobi

Answers:



3

正如其他人所说,这很可能被忽略。如果您想成为超级安全一方,请编辑st​​ack.yaml并将解析器降级到14.x(此时最新值为14.27)。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.