mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Windows: Statically linked C runtime (#3966)
This commit is contained in:
parent
314cdbb15b
commit
1b769b054c
1 changed files with 7 additions and 0 deletions
|
@ -1,2 +1,9 @@
|
|||
[alias]
|
||||
dev = "run --package uv-dev"
|
||||
|
||||
# statically link the C runtime so the executable does not depend on
|
||||
# that shared/dynamic library.
|
||||
#
|
||||
# See: https://github.com/astral-sh/ruff/issues/11503
|
||||
[target.'cfg(all(target_env = "msvc", target_os = "windows"))']
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue