Closed roife closed 11 months ago
Thanks for the feedback. That's something that I didn't even check before. I'll look into it!
This situation only occurs when loading multiple libraries written using Swift dynamic module.
Yeah, I figured, but thanks for clarification 🙏. I experimented a bit with linker flags 🎏 , but SwiftPM doesn't provide much freedom there. Right now I think about exposing EmacsSwiftModule as dynamic library as well and using it for building modules.
Wow, this solution sounds very reasonable!
I am sorry. I did not reproduce this issue. I tried to load two modules with using emacs-swift-module
and my emacs works well as usual.
I am on Emacs "GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1 (Build 23B74)) of 2023-11-05"
Can we have an experiment to verify this issue?
@citrus-lemon I was able to reproduce it. Make sure you launch Emacs from shell to see the output there.
The issue should be fixed now. I didn't add an automated test though (which I should in time), but it requires some refactoring of how I do tests.
Thanks for the great package. I have used it developing multiple dynamic modules. However, when I loading the modules constructed with
emacs-swift-module
, it throws warning as the following:I guess it is because the symbol name within two modules are duplicated. And I want to know how to solve the warning.