summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2017-10-17 00:35:45 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2017-10-17 00:35:45 +0200
commit6cb46421de6a0f97ca1c8103c19df478f07612d7 (patch)
tree90b72526d70095cd79dccdfa91b723c18095c27f /libraries
parent21b7057e958551fb6bf8c832491345c4f6e7f44f (diff)
downloadhaskell-6cb46421de6a0f97ca1c8103c19df478f07612d7.tar.gz
Bump ghc-prim to 0.5.2.0 and update changelog
This is prompted by the addition of `compareByteArrays#` in e3ba26f8b49700b41ff4672f3f7f6a4e453acdcc NOTE: We may switch to synchronise `ghc-prim` with GHC's version at some point
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ghc-compact/ghc-compact.cabal2
-rw-r--r--libraries/ghc-prim/changelog.md12
-rw-r--r--libraries/ghc-prim/ghc-prim.cabal2
3 files changed, 13 insertions, 3 deletions
diff --git a/libraries/ghc-compact/ghc-compact.cabal b/libraries/ghc-compact/ghc-compact.cabal
index 7d2069b0c6..adbfa94c0f 100644
--- a/libraries/ghc-compact/ghc-compact.cabal
+++ b/libraries/ghc-compact/ghc-compact.cabal
@@ -36,7 +36,7 @@ library
UnboxedTuples
CPP
- build-depends: ghc-prim == 0.5.1.0,
+ build-depends: ghc-prim == 0.5.2.0,
base >= 4.9.0 && < 4.12,
bytestring >= 0.10.6.0
ghc-options: -Wall
diff --git a/libraries/ghc-prim/changelog.md b/libraries/ghc-prim/changelog.md
index 0c9ca42fd8..b01bf8bee9 100644
--- a/libraries/ghc-prim/changelog.md
+++ b/libraries/ghc-prim/changelog.md
@@ -1,4 +1,14 @@
-## 0.6.0.0
+## 0.5.2.0
+
+- Shipped with GHC 8.4.1
+
+- Added to `GHC.Prim`:
+
+ compareByteArrays# :: ByteArray# -> Int# -> ByteArray# -> Int# -> Int# -> Int#
+
+- Don't allocate a thunk for each unpacked UTF-8 character in `unpackCStringUtf8#`
+
+## 0.5.1.0
- Shipped with GHC 8.2.1
diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal
index 00a029efed..5b6b857ffb 100644
--- a/libraries/ghc-prim/ghc-prim.cabal
+++ b/libraries/ghc-prim/ghc-prim.cabal
@@ -1,5 +1,5 @@
name: ghc-prim
-version: 0.5.1.0
+version: 0.5.2.0
-- NOTE: Don't forget to update ./changelog.md
license: BSD3
license-file: LICENSE