Confusing -O1 in build profile
Open
attention: pr-welcome
newcomer
newcomer: 1-one-line-change
re: user experience
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
```
$ cabal build
Resolving dependencies...
Build profile: -w ghc-8.8.1 -O1
In order, the following will be built (use -v for more details):
- bsb-http-chunked-0.0.0.4 (lib) (first run)
```
What does the `-O1` in the `Build profile:` line mean? The `ghc-options` for my library component include `-O2`, and the verbose log shows that `ghc` is invoked with `-O2` too.
Contributor guide
Assessment
This issue has not been assessed yet.