forked from M-Labs/nac3
nac3artiq: use lld.exe on Windows
This commit is contained in:
parent
edd039abdc
commit
19182759cd
|
@ -870,7 +870,7 @@ impl Nac3 {
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
let lld_command = "ld.lld";
|
let lld_command = "ld.lld";
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
let lld_command = "ld.lld.exe";
|
let lld_command = "lld.exe";
|
||||||
if let Ok(linker_status) = Command::new(lld_command).args(linker_args).status() {
|
if let Ok(linker_status) = Command::new(lld_command).args(linker_args).status() {
|
||||||
if !linker_status.success() {
|
if !linker_status.success() {
|
||||||
return Err(CompileError::new_err("failed to start linker"));
|
return Err(CompileError::new_err("failed to start linker"));
|
||||||
|
|
Loading…
Reference in New Issue