Commit 2309d2c
fix: add platform-specific executable extension to build output paths
• Import exeExtension from Distribution.Simple.BuildPaths to determine
correct executable naming by platform
• Extract platform information from toolchain configuration during build
orchestration
• Apply platform-specific file extension (e.g., .exe on Windows) when
constructing executable paths in build output
• Refactor variable naming for clarity (exe → exeName) to distinguish
filename base from full executable path
• Normalize import formatting for consistency1 parent bc52b09 commit 2309d2c
File tree
1 file changed
+8
-5
lines changed- cabal-install/src/Distribution/Client
1 file changed
+8
-5
lines changedLines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
| 215 | + | |
217 | 216 | | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
549 | | - | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
550 | 552 | | |
| 553 | + | |
551 | 554 | | |
552 | 555 | | |
553 | 556 | | |
| |||
0 commit comments