mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-08 21:17:59 +00:00
Try target-feature=+crt-static
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
[target.x86_64-pc-windows-msvc]
|
# statically link the C runtime so the executable does not depend on
|
||||||
linker = "rust-lld"
|
# that shared/dynamic library.
|
||||||
|
[target.'cfg(all(target_env = "msvc", target_os = "windows"))']
|
||||||
[target.aarch64-pc-windows-msvc]
|
rustflags = ["-C", "target-feature=+crt-static"]
|
||||||
linker = "rust-lld"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user