Just an attempt to get Zig to call Odin code via static linking.
Oh and this is supposed to work for Windows. I am pretty sure that linux just works as fine, if you adjust the object filename in the build.zig
For some reason, fmt.println call is not really... liked? as in: it doesn't work with it.
I am unsure whether it's because of the context or because of what the fmt.println call does, but yeah generally this works fine.
To compile the Odin obj file:
odin build from.odin -build-mode:obj -target:windows_amd64 -no-entry-point -fileand then just:
zig build