mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(rust): use rust-lld linker for MSVC (#9641)
The latest VisualStudio version shipped a bug in the MSVC linker that cannot handle symbols above a certain size. Switching to the Rust linker fixes this issue. Related: https://github.com/rust-lang/rust/issues/141626
This commit is contained in:
@@ -3,3 +3,8 @@ rustflags="-C force-frame-pointers=yes"
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
rustflags="-C force-frame-pointers=yes"
|
||||
|
||||
# https://github.com/rust-lang/rust/issues/141626
|
||||
# (can be removed once link.exe is fixed)
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
linker = "rust-lld"
|
||||
|
||||
Reference in New Issue
Block a user