Closed
Description
Summary
Linking zed.exe in windows failed with error: rust-lld: error: /failifmismatch: mismatch detected for 'RuntimeLibrary'
Description
rust-lld: error: /failifmismatch: mismatch detected for 'RuntimeLibrary':␍
>>> libwebrtc_sys-35b9de37ab8692ab.rlib(0602fb52cb66f316-media_stream_track.o) has value MD_DynamicRelease␍
>>> libwebrtc_sys-35b9de37ab8692ab.rlib(video_frame.obj) has value MT_StaticRelease␍
Steps to reproduce:
- Build zed root project with
cargo build --release
on Windows 11 x64 - The build step was successful ( with MSVC 143 Spectre migitation libs installed to prevent previous issues), but linking failed with such error.
- Using msvc
link.exe
to link (not rust-lld) also exited with the error above.
Expected result:
All parts of libwebrtc_sys
should set to statically linked.
Other tries:
I have tried to upgrade the libwebrtc dependency in livekit_client/Cargo.toml
to the latest version ( 0.3.11 ), but Zed failed to compile due to breaking changes in libwebrtc version 0.3.8.
Zed Version and System Specs
latest version of master branch
Metadata
Metadata
Assignees
Labels
No labels