Skip to content

Commit

Permalink
cdylib targets
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jun 20, 2024
1 parent f6f985d commit 2e54d39
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/samples/components/json_validator_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ path = "../../../../crates/libs/targets"

# 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
[dependencies.sample_component_json_validator]
[build-dependencies.sample_component_json_validator]
path = "../json_validator"
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
[dependencies.sample_component_json_validator_winrt]
[build-dependencies.sample_component_json_validator_winrt]
path = "../json_validator_winrt"
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ path = "../../../../crates/libs/targets"

# 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
[dependencies.sample_component_json_validator_winrt]
[build-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 @@ -24,5 +24,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
[dependencies.test_component]
[build-dependencies.test_component]
path = "../component"

0 comments on commit 2e54d39

Please sign in to comment.