From ae07c4f546a09300ba3e956eb90d4e0fe1994dd9 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 5 Sep 2024 09:29:58 -0500 Subject: [PATCH] cargo hates binaries --- .../components/json_validator_winrt_client/Cargo.toml | 6 +----- .../components/json_validator_winrt_client_cpp/Cargo.toml | 6 +----- crates/tests/misc/component_client/Cargo.toml | 6 +----- crates/tests/winrt/constructors_client/Cargo.toml | 6 +----- 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/crates/samples/components/json_validator_winrt_client/Cargo.toml b/crates/samples/components/json_validator_winrt_client/Cargo.toml index 4d047a244b..b419d190f4 100644 --- a/crates/samples/components/json_validator_winrt_client/Cargo.toml +++ b/crates/samples/components/json_validator_winrt_client/Cargo.toml @@ -16,11 +16,7 @@ features = [ [build-dependencies.windows-bindgen] workspace = true -# The build script needs the output (.winmd) of the component. -[build-dependencies.sample_component_json_validator_winrt] -path = "../json_validator_winrt" - -# The build itself needs the output (.dll) of the component. This causes a warning about lack of linkage target. +# The build needs the output (.dll) of the component. This causes a warning about lack of linkage target. # Cargo doesn't understand cdylib targets. https://github.com/rust-lang/cargo/issues/7825 [dependencies.sample_component_json_validator_winrt] path = "../json_validator_winrt" diff --git a/crates/samples/components/json_validator_winrt_client_cpp/Cargo.toml b/crates/samples/components/json_validator_winrt_client_cpp/Cargo.toml index bc915ebeca..5ff78996af 100644 --- a/crates/samples/components/json_validator_winrt_client_cpp/Cargo.toml +++ b/crates/samples/components/json_validator_winrt_client_cpp/Cargo.toml @@ -13,11 +13,7 @@ workspace = true [dependencies.windows-targets] workspace = true -# The build script needs the output (.winmd) of the component. -[build-dependencies.sample_component_json_validator_winrt] -path = "../json_validator_winrt" - -# The build itself needs the output (.dll) of the component. This causes a warning about lack of linkage target. +# The build needs the output (.dll) of the component. This causes a warning about lack of linkage target. # Cargo doesn't understand cdylib targets. https://github.com/rust-lang/cargo/issues/7825 [dependencies.sample_component_json_validator_winrt] path = "../json_validator_winrt" diff --git a/crates/tests/misc/component_client/Cargo.toml b/crates/tests/misc/component_client/Cargo.toml index ea5aa93d5f..49ce93ac0f 100644 --- a/crates/tests/misc/component_client/Cargo.toml +++ b/crates/tests/misc/component_client/Cargo.toml @@ -22,11 +22,7 @@ features = [ "Win32_Foundation", ] -# The build script needs the output (.winmd) of the component. -[build-dependencies.test_component] -path = "../component" - -# The build itself needs the output (.dll) of the component. This causes a warning about lack of linkage target. +# The build needs the output (.dll) of the component. This causes a warning about lack of linkage target. # Cargo doesn't understand cdylib targets. https://github.com/rust-lang/cargo/issues/7825 [dependencies.test_component] path = "../component" diff --git a/crates/tests/winrt/constructors_client/Cargo.toml b/crates/tests/winrt/constructors_client/Cargo.toml index 99fffdf7a5..960400e76f 100644 --- a/crates/tests/winrt/constructors_client/Cargo.toml +++ b/crates/tests/winrt/constructors_client/Cargo.toml @@ -22,11 +22,7 @@ features = [ "Win32_Foundation", ] -# The build script needs the output (.winmd) of the component. -[build-dependencies.test_constructors] -path = "../constructors" - -# The build itself needs the output (.dll) of the component. This causes a warning about lack of linkage target. +# The build needs the output (.dll) of the component. This causes a warning about lack of linkage target. # Cargo doesn't understand cdylib targets. https://github.com/rust-lang/cargo/issues/7825 [dependencies.test_constructors] path = "../constructors"