summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2023-03-02 12:29:28 -0500
committerBen Gamari <ben@smart-cactus.org>2023-03-02 12:31:12 -0500
commitfbc98e66077b933b634bf86a8d4a739ef10ea232 (patch)
tree78706c80aff7756ff42d76004e20e156a8623a97
parentcbdc5d515c6e1761e055106875d30f82098e4098 (diff)
downloadhaskell-fbc98e66077b933b634bf86a8d4a739ef10ea232.tar.gz
docs/relnotes: Mention -fprefer-byte-codeghc-9.6.1-rc1
Closes #23027.
-rw-r--r--docs/users_guide/9.6.1-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/9.6.1-notes.rst b/docs/users_guide/9.6.1-notes.rst
index 4f3b5afaf2..de76f784b8 100644
--- a/docs/users_guide/9.6.1-notes.rst
+++ b/docs/users_guide/9.6.1-notes.rst
@@ -150,6 +150,12 @@ Compiler
on the GHC wiki for the current status, project roadmap, build instructions
and demos.
+- GHC now offers a new flag, :ghc-flag:`-fprefer-byte-code`, which instructs
+ the compiler to to use byte-code when available when loading home package
+ modules for execution (e.g. when evaluating TH splices). This avoids the
+ considerable code generation and linking costs of native code, which is often
+ unnecessary for one-off Template Haskell splices.
+
- The :extension:`TypeInType` is now marked as deprecated. Its meaning has been included
in :extension:`PolyKinds` and :extension:`DataKinds`.