fix(cli): zig abi should pass to linker
This commit is contained in:
parent
5d9a444e40
commit
95d49f8cf4
1 changed files with 1 additions and 3 deletions
|
@ -254,9 +254,7 @@ export class BuildCommand extends Command {
|
|||
triple.platform === 'win32' ? 'c++' : 'cc'
|
||||
}', ...processZigLinkerArgs('${
|
||||
triple.raw
|
||||
}', process.argv.slice(2)), '-target', '${
|
||||
ZIG_PLATFORM_TARGET_MAP[triple.raw]
|
||||
}'], { stdio: 'inherit', shell: true })\nwriteFileSync('${linkerWrapper.replaceAll(
|
||||
}', process.argv.slice(2)), '-target', '${zigTarget}'], { stdio: 'inherit', shell: true })\nwriteFileSync('${linkerWrapper.replaceAll(
|
||||
'\\',
|
||||
'/',
|
||||
)}.args.log', process.argv.slice(2).join(' '))\n\nprocess.exit(status || 0)\n`,
|
||||
|
|
Loading…
Reference in a new issue