Skip to content

fix: limit Windows all-in-one DLL exports#611

Open
feihongxu0824 wants to merge 21 commits into
alibaba:mainfrom
feihongxu0824:fix/windows-explicit-exports
Open

fix: limit Windows all-in-one DLL exports#611
feihongxu0824 wants to merge 21 commits into
alibaba:mainfrom
feihongxu0824:fix/windows-explicit-exports

Conversation

@feihongxu0824

Copy link
Copy Markdown
Collaborator

Summary

  • Replace Windows automatic export-all behavior with explicit component-scoped C++ exports.
  • Build normal and export-decorated object variants so static and plugin targets do not inherit dllexport.
  • Add a public shared-library API smoke test and complete the Windows ABI definitions required by exported APIs.

Export scope

  • zvec_ailego: Ailego API
  • zvec_core: Core, Ailego, and Turbo APIs
  • zvec: DB and Ailego APIs; Core and Turbo remain bundled implementation details

Validation

@feihongxu0824
feihongxu0824 marked this pull request as ready for review July 21, 2026 11:07
@feihongxu0824

Copy link
Copy Markdown
Collaborator Author

verified with feihongxu0824#7

Comment thread src/CMakeLists.txt
Comment thread src/core/CMakeLists.txt
Comment thread src/include/zvec/core/interface/index_param.h Outdated
Comment thread src/include/zvec/core/interface/index_param.h Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants