Skip to content

Commit

Permalink
cargo hates binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Sep 5, 2024
1 parent bd391c3 commit ae07c4f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 1 addition & 5 deletions crates/tests/misc/component_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 1 addition & 5 deletions crates/tests/winrt/constructors_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit ae07c4f

Please sign in to comment.