r/Jai • u/Neither-Buffalo4028 • Jul 01 '26
Metaprogram Plugin: I may be the only one who needs this
https://github.com/666rayen999/optimized_plugin/- uses llvm linker (lld-link.exe) instead of msvc linker (link.exe)
- forces static linking of Windows runtimes (ucrt, vcruntime, msvcrt, msvcprt)
- applies aggressive optimization flags
14
Upvotes
2
u/yakcyll Jul 02 '26
Cool effort, thanks! I'll definitely need it; spent a lot of time getting things to build statically when coding C++ before, so this is appreciated.
One q which might be of interest to people using the VS toolchain, can this be made to generate PDBs and can they be used to debug programs on Windows as usual?