@sigit / si Mirror · read-only
Fork 0

Mirror of github.com/getsigit/si.

Mirrored from https://github.com/getsigit/si.git

Synced Nov 24, 08:15 UTC

1 # Link the MSVC C runtime statically on Windows. Without this the binary
2 # imports VCRUNTIME140.dll and the UCRT api-ms-win-crt-*.dll set, and on a
3 # machine without the Visual C++ Redistributable it dies at load time with
4 # STATUS_DLL_NOT_FOUND (0xC0000135) before main runs. the .NET tool and any
5 # downloaded exe have no installer to bring the runtime along.
6 [target.'cfg(all(windows, target_env = "msvc"))']
7 rustflags = ["-C", "target-feature=+crt-static"]