Linking LLVM on Windows/Ubuntu results in missing libraries and corrupted rlibs
I’m using Rust with Inkwell which requires me to install LLVM. To make it an all-in-one build process I setup a GitHub action to build LLVM, then wrote a buildscript to download LLVM. The LLVM build is simple, running at https://github.com/BigBadE/LLVMBinaryBuilder/ on github actions with default build arguments. Since llvm-sys (the llvm library) uses an environmental variable to find LLVM and I can’t guarantee I set it before it runs the buildscript, I manually link against LLVM myself.