Skip to content

Commit

Permalink
Change depenency on "component" test from build.
Browse files Browse the repository at this point in the history
As a build dependency, it is being built for the "host", which then causes
it to be placed in a different directory than the component_client test
if an explicit target is specified to cargo.
  • Loading branch information
jeremyd2019 committed Apr 7, 2024
1 parent 3e2f126 commit 8783a1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ path = "../../../libs/bindgen"

# TODO: this causes a warning about lack of linkage target. The point is to ensure that this binary dependency is built first but
# Cargo doesn't respect cdylib targets. https://github.com/rust-lang/cargo/issues/7825
[build-dependencies.sample_component_json_validator_winrt]
[dependencies.sample_component_json_validator_winrt]
path = "../json_validator_winrt"
2 changes: 1 addition & 1 deletion crates/tests/component_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ features = [

# TODO: this causes a warning about lack of linkage target. The point is to ensure that this binary dependency is built first but
# Cargo doesn't respect cdylib targets. https://github.com/rust-lang/cargo/issues/7825
[build-dependencies.test_component]
[dependencies.test_component]
path = "../component"

0 comments on commit 8783a1c

Please sign in to comment.