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'
|
triple.platform === 'win32' ? 'c++' : 'cc'
|
||||||
}', ...processZigLinkerArgs('${
|
}', ...processZigLinkerArgs('${
|
||||||
triple.raw
|
triple.raw
|
||||||
}', process.argv.slice(2)), '-target', '${
|
}', process.argv.slice(2)), '-target', '${zigTarget}'], { stdio: 'inherit', shell: true })\nwriteFileSync('${linkerWrapper.replaceAll(
|
||||||
ZIG_PLATFORM_TARGET_MAP[triple.raw]
|
|
||||||
}'], { stdio: 'inherit', shell: true })\nwriteFileSync('${linkerWrapper.replaceAll(
|
|
||||||
'\\',
|
'\\',
|
||||||
'/',
|
'/',
|
||||||
)}.args.log', process.argv.slice(2).join(' '))\n\nprocess.exit(status || 0)\n`,
|
)}.args.log', process.argv.slice(2).join(' '))\n\nprocess.exit(status || 0)\n`,
|
||||||
|
|
Loading…
Reference in a new issue