diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-04-27 01:18:49 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-04-28 22:52:56 -0400 |
commit | 1b1721858eef170a76c4a1a2c2acc07cd877c45f (patch) | |
tree | 0a68896179ff0d1671359596ba374dc67f88cec7 /libraries | |
parent | 55fcee30cb3281a66f792e8673967d64619643af (diff) | |
download | haskell-1b1721858eef170a76c4a1a2c2acc07cd877c45f.tar.gz |
Mark GHC.Prim.PtrEq as Unsafe
This module exports unsafe pointer equality operations,
so we accordingly mark it as Unsafe.
Fixes #21433
(cherry picked from commit 81cf52bb301592ff3d043d03eb9a0d547891a3e1)
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/ghc-prim/GHC/Prim/PtrEq.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ghc-prim/GHC/Prim/PtrEq.hs b/libraries/ghc-prim/GHC/Prim/PtrEq.hs index ba58857868..34285a879a 100644 --- a/libraries/ghc-prim/GHC/Prim/PtrEq.hs +++ b/libraries/ghc-prim/GHC/Prim/PtrEq.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE Trustworthy #-} +{-# LANGUAGE Unsafe #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE MagicHash #-} |