Skip to content

-fpackage-trust doesn't cause recompilation

{-# LANGUAGE Safe #-}
module A where
ghc A.hs -fpackage-trust
>
A.hs:2:8: error:
    Prelude: Can't be safely imported!
    The package (base-4.14.1.0) the module resides in isn't trusted.
  |
2 | module A where
  |     
ghc A.hs
ghc A.hs -fpackage-trust
> no error

\label Safe Haskell recompilation checking

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information