Replies: 1 comment
-
Yes, the size is expected as that is a limitation of SPM. We cannot indicate dynamic linking for Calculator and UICatalog to SwiftWin32. That is why the two executables are relatively similar in size to SwiftWin32. They are tiny apps that include all of SwiftWin32. A more accurate size measurement would use CMake based builds where we could link dynamically to the implementation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
After compiling, I check the file size:
this is in release mode (by
swift build -c release
). in debug mode, it will be about 9M.I'd like to make sure, is this normal? There are all about 6M in size, seems to have something in common.
Beta Was this translation helpful? Give feedback.
All reactions