Writing a dynamic library in Crystal, and calling it from C Download all files. Build the Crystal part: crystal build --release --cross-compile --prelude ./no_main library.cr ^ You can leave this out ^ We want to link ourselves! ^ Use our custom prelude!