From 14de050487b1af8922c43b2dd75e252d498734a7 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Mon, 11 Nov 2024 09:39:47 +0100 Subject: [PATCH] fix: Fix cmake unkown target error --- Cargo.toml | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2c31080..d4b2259 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,26 +1,33 @@ [package] -name = "libc-checks" -version = "0.1.0" -authors = ["Sergio Gasquez "] -edition = "2021" -resolver = "2" +name = "libc-checks" +version = "0.1.0" +authors = ["Sergio Gasquez "] +edition = "2021" +resolver = "2" rust-version = "1.77" [[bin]] -name = "libc-checks" +name = "libc-checks" harness = false [profile.release] opt-level = "s" [profile.dev] -debug = true +debug = true opt-level = "z" [dependencies] -esp-idf-svc = { version = "0.49", default-features = false, features = ["alloc", "std", "binstart"] } -libc = "0.2.161" +esp-idf-svc = { version = "0.49", default-features = false, features = [ + "alloc", + "binstart", + "std", +] } +libc = "0.2.162" log = { version = "0.4", default-features = false } +# Fixes https://github.com/rust-lang/cmake-rs/pull/225. Remove once merged. +cc = "=1.1.31" + [build-dependencies] embuild = "0.32.0"