You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ruff/SOURCES/0001-drop-Windows-and-macOS...

55 lines
1.9 KiB

From 2cd0af69b94610b30c3563ec8cb5c8976f6d42fe Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Wed, 29 May 2024 21:39:59 +0200
Subject: [PATCH 1/7] drop Windows- and macOS-specific dependencies
---
crates/ruff/Cargo.toml | 3 ---
crates/ruff_benchmark/Cargo.toml | 3 ---
crates/ruff_server/Cargo.toml | 3 ---
3 files changed, 9 deletions(-)
diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml
index 8c8ea148f..c6703c4d8 100644
--- a/crates/ruff/Cargo.toml
+++ b/crates/ruff/Cargo.toml
@@ -68,9 +68,6 @@ insta-cmd = { workspace = true }
tempfile = { workspace = true }
test-case = { workspace = true }
-[target.'cfg(target_os = "windows")'.dependencies]
-mimalloc = { workspace = true }
-
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
tikv-jemallocator = { workspace = true }
diff --git a/crates/ruff_benchmark/Cargo.toml b/crates/ruff_benchmark/Cargo.toml
index db70977c5..550166282 100644
--- a/crates/ruff_benchmark/Cargo.toml
+++ b/crates/ruff_benchmark/Cargo.toml
@@ -53,8 +53,5 @@ workspace = true
[features]
codspeed = ["codspeed-criterion-compat"]
-[target.'cfg(target_os = "windows")'.dev-dependencies]
-mimalloc = { workspace = true }
-
[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dev-dependencies]
tikv-jemallocator = { workspace = true }
diff --git a/crates/ruff_server/Cargo.toml b/crates/ruff_server/Cargo.toml
index fe52e52ae..948501e20 100644
--- a/crates/ruff_server/Cargo.toml
+++ b/crates/ruff_server/Cargo.toml
@@ -41,8 +41,5 @@ walkdir = { workspace = true }
[dev-dependencies]
insta = { workspace = true }
-[target.'cfg(target_vendor = "apple")'.dependencies]
-libc = { workspace = true }
-
[lints]
workspace = true
--
2.45.2