Skip to content
Snippets Groups Projects
Unverified Commit 297098a2 authored by Mikolaj Konarski's avatar Mikolaj Konarski Committed by GitHub
Browse files

Merge pull request #8243 from haskell/mergify/bp/3.8/pr-8232

Apple Silicon Foreign Library Support (#8227) (backport #8232)
parents 534a6c52 3bd101f1
No related branches found
No related tags found
No related merge requests found
......@@ -2065,12 +2065,12 @@ checkForeignLibSupported comp platform flib = go (compilerFlavor comp)
]
goGhcPlatform :: Platform -> Maybe String
goGhcPlatform (Platform X86_64 OSX ) = goGhcOsx (foreignLibType flib)
goGhcPlatform (Platform _ OSX ) = goGhcOsx (foreignLibType flib)
goGhcPlatform (Platform _ Linux ) = goGhcLinux (foreignLibType flib)
goGhcPlatform (Platform I386 Windows) = goGhcWindows (foreignLibType flib)
goGhcPlatform (Platform X86_64 Windows) = goGhcWindows (foreignLibType flib)
goGhcPlatform _ = unsupported [
"Building foreign libraries is currently only supported on OSX, "
"Building foreign libraries is currently only supported on Mac OS, "
, "Linux and Windows"
]
......
synopsis: Enabled foreign library building on apple silicon
packages: Cabal
prs: #8232
issues: #8227 #7837
significance: significant
description: {
- Enabled foreign library building on apple silicon
- Updated error message for foreign library builds on unsupported platforms
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment