![Gunwant Jain](/assets/img/avatar_default.png)
Builds static binaries instead to be runnable from scratch. This eases the build process, as we don't have to depend on docker's buildx. Now images for both arm64 and x86_64 can be built on x86_64 platform alone. Signed-off-by: Gunwant Jain <mail@wantguns.dev>
8 lines
211 B
TOML
8 lines
211 B
TOML
[build]
|
|
target = "x86_64-unknown-linux-gnu"
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
linker = "aarch64-linux-gnu-gcc"
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|