Skip to content

Commit 1d28272

Browse files
fix(webmcp): add serde_json to integration_tests Bazel deps
The integration test calls serde_json::to_string_pretty() directly. Cargo resolves it transitively, but Bazel requires explicit deps. Fixes Bazel Test arm64-darwin/linux compilation failure. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cd5f95a commit 1d28272

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

rs/webmcp/codegen/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,8 @@ rust_test(
6565
# Note: management_canister_types/tests/ic.did is not publicly exported;
6666
# the integration test skips it gracefully when not present.
6767
],
68-
deps = [":ic_webmcp_codegen"] + DEV_DEPENDENCIES,
68+
deps = [
69+
":ic_webmcp_codegen",
70+
"@crate_index//:serde_json",
71+
] + DEV_DEPENDENCIES,
6972
)

0 commit comments

Comments
 (0)