File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 63
63
64
64
# Anti-pattern: Data.ByteString.Char8.pack
65
65
[[ignore ]]
66
- id = " OBS-STAN-0203-fki0nd-2666 :3"
66
+ id = " OBS-STAN-0203-fki0nd-2668 :3"
67
67
# ✦ Description: Usage of 'pack' function that doesn't handle Unicode characters
68
68
# ✦ Category: #AntiPattern
69
69
# ✦ File: src\Stack\Build\Execute.hs
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ Other enhancements:
46
46
found. In YAML configuration files, the ` notify-if-ghc-untested ` and
47
47
` notify-if-cabal-untested ` keys are introduced, to allow the notification to
48
48
be muted if unwanted.
49
+ * The compiler version is included in Stack's build message (e.g.
50
+ ` stack> build (lib + exe + test) with ghc-9.4.7 ` ).
49
51
50
52
Bug fixes:
51
53
* Fix the ` Curator ` instance of ` ToJSON ` , as regards ` expect-haddock-failure ` .
Original file line number Diff line number Diff line change @@ -981,7 +981,7 @@ stack build :helloworld-test
981
981
Building all executables for `helloworld' once. After a successful build of all of them, only specified executables will be rebuilt.
982
982
helloworld> configure (lib + exe + test)
983
983
Configuring helloworld-0.1.0.0...
984
- helloworld> build (lib + exe + test)
984
+ helloworld> build (lib + exe + test) with ghc-x.y.z
985
985
Preprocessing library for helloworld-0.1.0.0..
986
986
Building library for helloworld-0.1.0.0..
987
987
[1 of 2] Compiling Lib
@@ -1024,7 +1024,7 @@ and command again:
1024
1024
~~~ text
1025
1025
stack build :helloworld-test
1026
1026
helloworld-0.1.0.0: unregistering (local file changes: test\Spec.hs)
1027
- helloworld> build (lib + test)
1027
+ helloworld> build (lib + test) with ghc-x.y.z
1028
1028
Preprocessing library for helloworld-0.1.0.0..
1029
1029
Building library for helloworld-0.1.0.0..
1030
1030
Preprocessing test suite 'helloworld-test' for helloworld-0.1.0.0..
Original file line number Diff line number Diff line change @@ -1985,9 +1985,12 @@ singleBuild
1985
1985
\undefined reference errors from the linker, along with \
1986
1986
\other problems."
1987
1987
1988
+ actualCompiler <- view actualCompilerVersionL
1988
1989
() <- announce
1989
1990
( " build"
1990
1991
<> display (annSuffix executableBuildStatuses)
1992
+ <> " with "
1993
+ <> display actualCompiler
1991
1994
)
1992
1995
config <- view configL
1993
1996
extraOpts <- extraBuildOptions wc eeBuildOpts
@@ -2017,7 +2020,6 @@ singleBuild
2017
2020
else " haddock"
2018
2021
2019
2022
-- For GHC 8.4 and later, provide the --quickjump option.
2020
- actualCompiler <- view actualCompilerVersionL
2021
2023
let quickjump =
2022
2024
case actualCompiler of
2023
2025
ACGhc ghcVer
You can’t perform that action at this time.
0 commit comments