mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:39:12 +00:00
Windows: Statically linked C runtime (#11589)
Co-authored-by: T-256 <Tester@test.com>
This commit is contained in:
parent
7659114eb3
commit
5f976cae07
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
[alias]
|
||||
dev = "run --package ruff_dev --bin ruff_dev"
|
||||
benchmark = "bench -p ruff_benchmark --bench linter --bench formatter --"
|
||||
|
||||
# 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