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