Workspace with 3 projects: core, shared and mod
- Core produces the exe
- Shared contains shared functions and datastructures (
GameData) - Mod is set to
crate-type = ["dylib"]and produces a .dll
Disclaimer: This is an experimental implementation based on the shared_library crate. It works on my computer. I'm definitely not claiming this is how mod loaders should be done, and of course use this code at your own risk.
Feel free to use this code as you wish, feedback from more experienced Rustaceans is of course always welcome.