This section demonstrates how to build Scala Native applications for different architectures and operating systems using Bazel's platform-based toolchain resolution.
- 01-cross-compile-hello-world: Basic cross-compilation of a "Hello World" application to various platforms (Linux, macOS, Windows).
- 02-cross-compile-with-musl: Targeting Linux with the
muslC library instead of the defaultglibc. - 03-cross-compile-with-glibc: Targeting specific versions of
glibcfor maximum Linux distribution compatibility.