mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-15 15:50:38 +08:00
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.
20 lines
495 B
TOML
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",
|
|
]
|