From 68a229bd081c95a874fb41b5011f3a41551aaf0a Mon Sep 17 00:00:00 2001 From: Kevin Heavey Date: Mon, 17 Jun 2024 22:13:54 +0900 Subject: [PATCH] remove unused build dep `cc` from solana-program (#1659) * remove unused build dep `cc` from solana-program * remove cc from workspace --- Cargo.lock | 1 - Cargo.toml | 1 - programs/sbf/Cargo.lock | 1 - sdk/program/Cargo.toml | 3 --- 4 files changed, 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27e9f93309a245..47161167fdc218 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6850,7 +6850,6 @@ dependencies = [ "bs58", "bv", "bytemuck", - "cc", "console_error_panic_hook", "console_log", "curve25519-dalek 4.1.2", diff --git a/Cargo.toml b/Cargo.toml index 0e6a0070823efa..ee81d63c38c931 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -177,7 +177,6 @@ bytes = "1.6" bzip2 = "0.4.4" caps = "0.5.5" cargo_metadata = "0.15.4" -cc = "1.0.94" chrono = { version = "0.4.38", default-features = false } chrono-humanize = "0.2.3" clap = "2.33.1" diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 72c4356786449e..dc950bf4d93107 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -5423,7 +5423,6 @@ dependencies = [ "bs58", "bv", "bytemuck", - "cc", "console_error_panic_hook", "console_log", "curve25519-dalek 4.1.2", diff --git a/sdk/program/Cargo.toml b/sdk/program/Cargo.toml index 7cc2ed2ecc9573..3c03bc21deaead 100644 --- a/sdk/program/Cargo.toml +++ b/sdk/program/Cargo.toml @@ -83,9 +83,6 @@ static_assertions = { workspace = true } [build-dependencies] rustc_version = { workspace = true } -[target.'cfg(any(unix, windows))'.build-dependencies] -cc = { workspace = true, features = ["jobserver", "parallel"] } - [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"]