Files
heartwood/build/config.toml
T
cloudhead 95b5191533 Reproducible cross-compiled builds
Implement a new build pipeline using `podman` and `zig` that is
reproducible and can be run entirely on linux.

We also simplify the versioning system, defaulting to the output of `git
describe` when there are no exact tag matches.
2024-04-20 11:11:00 +02:00

20 lines
495 B
TOML

[target.x86_64-unknown-linux-musl]
linker = "clang"
rustflags = [
"-C", "link-arg=-fuse-ld=mold",
"-C", "link-arg=--target=x86_64-unknown-linux-musl",
"-C", "codegen-units=1",
"-C", "incremental=false",
"-C", "opt-level=3",
]
[target.aarch64-unknown-linux-musl]
linker = "clang"
rustflags = [
"-C", "link-arg=-fuse-ld=mold",
"-C", "link-arg=--target=aarch64-unknown-linux-musl",
"-C", "codegen-units=1",
"-C", "incremental=false",
"-C", "opt-level=3",
]