From 8b68e1bee330293c97595d62ee6cd80ba84dcb74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Tue, 7 May 2024 14:18:10 +0200 Subject: [PATCH 1/3] Rename duplicate crates in workspace --- tests/depfile/single_crate_config/Cargo.lock | 2 +- tests/depfile/single_crate_config/Cargo.toml | 2 +- tests/depfile/single_crate_default_config/Cargo.lock | 2 +- tests/depfile/single_crate_default_config/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/depfile/single_crate_config/Cargo.lock b/tests/depfile/single_crate_config/Cargo.lock index 26d416263..31cb5fba5 100644 --- a/tests/depfile/single_crate_config/Cargo.lock +++ b/tests/depfile/single_crate_config/Cargo.lock @@ -3,5 +3,5 @@ version = 3 [[package]] -name = "single_crate" +name = "single_crate_config" version = "0.1.0" diff --git a/tests/depfile/single_crate_config/Cargo.toml b/tests/depfile/single_crate_config/Cargo.toml index 66eff1125..e275c60a2 100644 --- a/tests/depfile/single_crate_config/Cargo.toml +++ b/tests/depfile/single_crate_config/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "single_crate" +name = "single_crate_config" version = "0.1.0" authors = ["cbindgen"] diff --git a/tests/depfile/single_crate_default_config/Cargo.lock b/tests/depfile/single_crate_default_config/Cargo.lock index 26d416263..84e6506f5 100644 --- a/tests/depfile/single_crate_default_config/Cargo.lock +++ b/tests/depfile/single_crate_default_config/Cargo.lock @@ -3,5 +3,5 @@ version = 3 [[package]] -name = "single_crate" +name = "single_crate_default_config" version = "0.1.0" diff --git a/tests/depfile/single_crate_default_config/Cargo.toml b/tests/depfile/single_crate_default_config/Cargo.toml index 66eff1125..342dacea6 100644 --- a/tests/depfile/single_crate_default_config/Cargo.toml +++ b/tests/depfile/single_crate_default_config/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "single_crate" +name = "single_crate_default_config" version = "0.1.0" authors = ["cbindgen"] From 41430649c00ff8a1477b8a2c2d102bc0e45e1079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Tue, 7 May 2024 16:34:36 +0200 Subject: [PATCH 2/3] Exclude test depfile crates --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5df80fd7f..ed990f8be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,3 +50,10 @@ required-features = ["clap"] [lib] name = "cbindgen" path = "src/lib.rs" + +[workspace] +exclude = [ + "tests/depfile/single_crate", + "tests/depfile/single_crate_config", + "tests/depfile/single_crate_default_config" +] From 085750c4cc9bc4be8a6f96d9e8516d1c22175bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Mon, 13 May 2024 14:34:42 +0200 Subject: [PATCH 3/3] Exclude all test crates --- Cargo.toml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ed990f8be..32357148a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,33 @@ path = "src/lib.rs" [workspace] exclude = [ - "tests/depfile/single_crate", "tests/depfile/single_crate_config", - "tests/depfile/single_crate_default_config" + "tests/depfile/single_crate_default_config", + "tests/depfile/single_crate", + "tests/rust/bitfield", + "tests/rust/dep_v2", + "tests/rust/dep_v2/dep", + "tests/rust/derive_eq", + "tests/rust/expand_default_features", + "tests/rust/expand_dep_v2", + "tests/rust/expand_dep_v2/dep_v2", + "tests/rust/expand_dep_v2/dep", + "tests/rust/expand_dep", + "tests/rust/expand_dep/dep", + "tests/rust/expand_features", + "tests/rust/expand_no_default_features", + "tests/rust/expand", + "tests/rust/external_workspace_child", + "tests/rust/literal_target", + "tests/rust/mod_2015", + "tests/rust/mod_2018", + "tests/rust/mod_attr", + "tests/rust/mod_path", + "tests/rust/package_version", + "tests/rust/rename_crate", + "tests/rust/rename_crate/dependency", + "tests/rust/rename_crate/no_extern", + "tests/rust/rename_crate/old_dep", + "tests/rust/workspace", + "tests/rust/workspace/dep", ]