Skip to content

Conversation

fabiocannizzo
Copy link

This can be compiled for both Linux and Windows.
If the chosen target is a Windows DLL, the library is compatible with MSVC and It is self-contained, i.e. there are no other DLL dependencies (other than the kernel) and exceptions and memory allocations do not cross the DLL boundary.

@fabiocannizzo fabiocannizzo force-pushed the fab3 branch 5 times, most recently from ee1ad57 to 1e28e47 Compare August 25, 2025 07:26
@fabiocannizzo fabiocannizzo marked this pull request as ready for review August 25, 2025 07:27
@fabiocannizzo fabiocannizzo force-pushed the fab3 branch 2 times, most recently from 483b4de to 8f598b1 Compare August 25, 2025 08:27
@fabiocannizzo fabiocannizzo changed the title Add a new target which generates a C-only API shared library. Add a new target which generates a C-only API shared library, compatible with MSVC Aug 25, 2025
This can be compiled for both Linux and Windows.
If the chosen target is a Windows DLL, the library is compatible with MSVC and
It is self-contained, i.e. there are no other DLL dependencies (other than the kernel) and
exceptions and memory allocations do not cross the DLL boundary.

Signed-off-by: Fabio Cannizzo <[email protected]>
Signed-off-by: Fabio Cannizzo <[email protected]>
…ments, to prevent registers spill to the stack in Windows ABI mode

Signed-off-by: Fabio Cannizzo <[email protected]>
@fabiocannizzo
Copy link
Author

Apologies for the multiple rebases. They are just minimal fixes in the first commit to ensure successful compilation on all platforms.

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.

1 participant