Simon Jakobi pushed to branch wip/sjakobi/T25450-print-cpu at Glasgow Haskell Compiler / GHC Commits: 07e80ec3 by Simon Jakobi at 2026-05-29T10:30:43+02:00 changelog.d: Remove code block from description The changelog-d parser uses the Cabal library's Distribution.Fields lexer, which tokenises '{' as a block-delimiter token (LBrace) unconditionally. A description block containing a line whose first non-whitespace character is '{' (e.g. a JSON example) therefore fails to parse with "unexpected {, expecting field contents or }". Remove the code block to fix the CI lint-changelog failure. - - - - - 1 changed file: - changelog.d/print-enabled-cpu-features Changes: ===================================== changelog.d/print-enabled-cpu-features ===================================== @@ -8,12 +8,7 @@ description: { prints a JSON object describing the CPU features currently enabled for code generation, together with a minimal set of ``-m...`` flags that would reproduce the non-default effective feature set for the current target. - Dynamic options such as ``-mavx2`` and ``-mbmi2`` are respected. :: + Dynamic options such as ``-mavx2`` and ``-mbmi2`` are respected. - $ ghc -mavx2 --print-enabled-cpu-features - {"tag":"enabled-cpu-features","version":1,"target":"x86_64-linux-gnu", - "features":["SSE2","SSE3","SSSE3","SSE4.1","SSE4.2","AVX","AVX2"], - "as_m_flags":["-mavx2"]} - - This is a first step toward implementing ``-march=native`` (:ghc-ticket:`25450`). + This is a first step toward implementing ``-march=native``. } View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/07e80ec3934eecfd6da212a291dfb7b3... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/07e80ec3934eecfd6da212a291dfb7b3... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Jakobi (@sjakobi2)