Cross Compilation
Browse docs
You can cross compile your lde package to other platforms by specifying the --target flag when running lde compile.
This is desirable when you don’t care about running the binary and want fast builds for continuous deployment release builds.
Valid Targets
linux-x86-64linux-aarch64windows-x86-64windows-aarch64macos-x86-64macos-aarch64android-aarch64
Using another compiler
If you have an alternate compiler on your system, you can override the default compiler lde uses (clang) with the SEA_CC env var.
SEA_CC=clang lde compileThis is used by lde to forcibly compile on windows with the llvm-mingw clang in CI, where the toolchain download is not an option.