mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
11 lines
410 B
TOML
11 lines
410 B
TOML
# On Windows MSVC, statically link the C runtime so that the resulting EXE does
|
|||
|
|
# not depend on the vcruntime DLL.
|
||
|
|
#
|
||
|
|
# See: https://github.com/sharkdp/bat/issues/3634
|
||
|
|
|
||
|
|
[target.x86_64-pc-windows-msvc]
|
||
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
||
|
|
[target.i686-pc-windows-msvc]
|
||
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
||
|
|
[target.aarch64-pc-windows-msvc]
|
||
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|