-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Bazel
-
None
-
Build OnDeck
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Propagate STITCH_SUPPORT_STATIC from stitch_support_duplicate to its static test consumers in src/mongo/embedded/stitch_support/BUILD.bazel. This makes callers use direct symbols rather than Windows DLL-import references. The mismatch can produce LNK4217, and fails when linker warnings are fatal. STITCH_SUPPORT_COMPILING stays private.
The exported stitch_support target has linkshared=True; its definition matches master exactly. Neither target propagates STITCH_SUPPORT_STATIC in dynamic-link configurations.
Validation: the Linux ARM64 static library build passed. Bazel CcInfo checks passed for static and dynamic configurations. Minimal Windows COFF probes using the real header linked both a static consumer and a DLL consumer cleanly with /WX. These probes do not run the complete Stitch Support implementation; the full Windows test remains unrun. bazel run format passed.
Extracted from #66298 for review by query-integration-staff-leads. Based directly on master and independent of the other team fixes; merge before #66298.