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.
67 lines
2.0 KiB
67 lines
2.0 KiB
From 6a8b04d4aee5280fd626b2ecb9f14763c494994c Mon Sep 17 00:00:00 2001
|
|
From: Fabio Valentini <decathorpe@gmail.com>
|
|
Date: Wed, 29 May 2024 21:41:14 +0200
|
|
Subject: [PATCH 3/7] remove unavailable custom allocators
|
|
|
|
---
|
|
Cargo.toml | 1 -
|
|
crates/ruff/Cargo.toml | 3 ---
|
|
crates/ruff/src/main.rs | 16 ----------------
|
|
3 files changed, 20 deletions(-)
|
|
|
|
diff --git a/Cargo.toml b/Cargo.toml
|
|
index fdc82643d..6612fdec6 100644
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -99,7 +99,6 @@ syn = { version = "2.0.55" }
|
|
tempfile = { version = "3.9.0" }
|
|
test-case = { version = "3.3.1" }
|
|
thiserror = { version = "1.0.58" }
|
|
-tikv-jemallocator = { version = "0.5.0" }
|
|
toml = { version = "0.8.11" }
|
|
tracing = { version = "0.1.40" }
|
|
tracing-indicatif = { version = "0.3.6" }
|
|
diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml
|
|
index c6703c4d8..6f8e44739 100644
|
|
--- a/crates/ruff/Cargo.toml
|
|
+++ b/crates/ruff/Cargo.toml
|
|
@@ -68,8 +68,5 @@ insta-cmd = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
test-case = { 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 }
|
|
-
|
|
[lints]
|
|
workspace = true
|
|
diff --git a/crates/ruff/src/main.rs b/crates/ruff/src/main.rs
|
|
index 2f5fe9cfa..021f6fac9 100644
|
|
--- a/crates/ruff/src/main.rs
|
|
+++ b/crates/ruff/src/main.rs
|
|
@@ -6,22 +6,6 @@ use colored::Colorize;
|
|
use ruff::args::{Args, Command};
|
|
use ruff::{run, ExitStatus};
|
|
|
|
-#[cfg(target_os = "windows")]
|
|
-#[global_allocator]
|
|
-static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
|
-
|
|
-#[cfg(all(
|
|
- not(target_os = "windows"),
|
|
- not(target_os = "openbsd"),
|
|
- any(
|
|
- target_arch = "x86_64",
|
|
- target_arch = "aarch64",
|
|
- target_arch = "powerpc64"
|
|
- )
|
|
-))]
|
|
-#[global_allocator]
|
|
-static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
|
-
|
|
pub fn main() -> ExitCode {
|
|
let args = wild::args_os();
|
|
let mut args =
|
|
--
|
|
2.45.2
|
|
|