File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Cabal/src/Distribution/Simple/Build Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ generatePathsModule pkg_descr lbi clbi =
51
51
, Z. zIsWindows = isWindows
52
52
, Z. zIsI386 = buildArch == I386
53
53
, Z. zIsX8664 = buildArch == X86_64
54
- , Z. zIsAarch64 = buildArch == AArch64
54
+ , Z. zIsAArch64 = buildArch == AArch64
55
55
, Z. zNot = not
56
56
, Z. zManglePkgName = showPkgName
57
57
, Z. zPrefix = show flat_prefix
Original file line number Diff line number Diff line change 12
12
zIsWindows :: Bool ,
13
13
zIsI386 :: Bool ,
14
14
zIsX8664 :: Bool ,
15
- zIsAarch64 :: Bool ,
15
+ zIsAArch64 :: Bool ,
16
16
zPrefix :: FilePath ,
17
17
zBindir :: FilePath ,
18
18
zLibdir :: FilePath ,
@@ -350,13 +350,13 @@ render z_root = execWriter $ do
350
350
tell " c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32\n "
351
351
return ()
352
352
else do
353
- if (zIsAarch64 z_root)
353
+ if (zIsAArch64 z_root)
354
354
then do
355
355
tell " foreign import ccall unsafe \" windows.h GetModuleFileNameW\"\n "
356
356
tell " c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32\n "
357
357
return ()
358
358
else do
359
- tell " -- win32 supported only with I386, X86_64, Aarch64 \n "
359
+ tell " -- win32 supported only with I386, X86_64, AArch64 \n "
360
360
tell " c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32\n "
361
361
tell " c_GetModuleFileName = _\n "
362
362
return ()
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ $(capture "decls" [d|
32
32
, zIsWindows :: Bool
33
33
, zIsI386 :: Bool
34
34
, zIsX8664 :: Bool
35
- , zIsAarch64 :: Bool
35
+ , zIsAArch64 :: Bool
36
36
37
37
, zPrefix :: FilePath
38
38
, zBindir :: FilePath
Original file line number Diff line number Diff line change 1
1
---
2
- synopsis: 'Add support for Windows Aarch64 '
2
+ synopsis: 'Add support for Windows AArch64 '
3
3
packages: [Cabal, cabal-install]
4
4
prs: 10705
5
5
---
6
6
7
- Adds to preprocessor branches the option to support `aarch64_HOST_ARCH` platform on Windows Aarch64 target.
8
- `ccall` convention is used at Aarch64 , same as for `x86_64_HOST_ARCH`. Introduce `zIsAarch64 ` to make paths generation support Windows Aarch64 target.
7
+ Adds to preprocessor branches the option to support `aarch64_HOST_ARCH` platform on Windows AArch64 target.
8
+ `ccall` convention is used at AArch64 , same as for `x86_64_HOST_ARCH`. Introduce `zIsAArch64 ` to make paths generation support Windows AArch64 target.
Original file line number Diff line number Diff line change @@ -205,11 +205,11 @@ foreign import stdcall unsafe "windows.h GetModuleFileNameW"
205
205
{% elif isX8664 % }
206
206
foreign import ccall unsafe " windows.h GetModuleFileNameW"
207
207
c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32
208
- {% elif isAarch64 % }
208
+ {% elif isAArch64 % }
209
209
foreign import ccall unsafe " windows.h GetModuleFileNameW"
210
210
c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32
211
211
{% else % }
212
- -- win32 supported only with I386, X86_64, Aarch64
212
+ -- win32 supported only with I386, X86_64, AArch64
213
213
c_GetModuleFileName :: Ptr () -> CWString -> Int32 -> IO Int32
214
214
c_GetModuleFileName = _
215
215
{% endif % }
You can’t perform that action at this time.
0 commit comments