Etapa G: tanda cli-rust-8 — 11 promovidos estáticos (corpus 159→170)

Granja JOBS=4 sobre cli-rust-8 (import 13/19): build-yield 10/13 +
cargo-hack re-arreglado. Todos ELF static-musl que corren:
ast-grep 0.43, boxxy 0.8.5, cargo-msrv 0.19.3, cargo-sweep 0.8,
comrak 0.52, genact 1.5.1, macchina 6.4, numbat 1.23, rage 0.11.2,
repgrep 0.16.1 (rgr), cargo-hack 0.6.45.

cargo-hack: de-Alpinizado a receta mínima (la fase compile custom con
`cargo auditable build` daba binario dinámico; el path default del lab
aplica crt-static + linker zig → estático). Verificado `file ... statically`.

Diferidos a .deferred (frontera de libs ausentes): hurl (libcurl+libxml2+
openssl-sys), termscp (Cargo.lock no carga bajo el vendor del lab).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 21:02:58 -04:00
co-authored by Claude Opus 4.8
parent 71bc228102
commit 9baa3fb85c
14 changed files with 283 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "ast-grep"
version = "0.43.0"
[source]
repo = "https://github.com/ast-grep/ast-grep"
commit = "5fe88553a5dae0798cc92ca201d841a0fd51012f"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "ast-grep"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/ast-grep /out/usr/bin/ast-grep"
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "boxxy"
version = "0.8.5"
[source]
repo = "https://github.com/queer/boxxy"
commit = "1f94d152d4a24c5fc42a67f4efa3fcb4879d54f2"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "boxxy"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/boxxy /out/usr/bin/boxxy"
# buildInputs de nix (NO deps de hammer — cargo vendorea; backend Rust por
# defecto). Si algún sys-crate C falla, adaptá per-paquete (patch/feature): oniguruma
+16
View File
@@ -0,0 +1,16 @@
# cargo-hack — subcomando cargo para matrices de features/versiones.
# De-Alpinizada (Etapa G): receta MÍNIMA sin fase compile custom (una fase `cargo build`
# produce binario DINÁMICO; el PATH DEFAULT del lab aplica crt-static + linker zig → estático).
# El `cargo auditable` del abuild de Alpine no existe en el lab ⇒ se elimina.
name = "cargo-hack"
version = "0.6.45"
[source]
tarball = "https://github.com/taiki-e/cargo-hack/archive/refs/tags/v0.6.45.tar.gz"
sha256 = "b7b921beacdbb815dc89a04024f48f1b1735daef890d2398e04f27f006c1d38e"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "cargo-hack"]
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "cargo-msrv"
version = "0.19.3"
[source]
repo = "https://github.com/foresterre/cargo-msrv"
commit = "bf4c1db5969b572eb84cf775ebe36ab790d3ba9f"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "cargo-msrv"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/cargo-msrv /out/usr/bin/cargo-msrv"
# buildInputs de nix (NO deps de hammer — cargo vendorea; backend Rust por
# defecto). Si algún sys-crate C falla, adaptá per-paquete (patch/feature): openssl
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "cargo-sweep"
version = "0.8.0"
[source]
repo = "https://github.com/holmgr/cargo-sweep"
commit = "82f42d3593923db6fe715b299036512d91ddb35e"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "cargo-sweep"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/cargo-sweep /out/usr/bin/cargo-sweep"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "comrak"
version = "0.52.0"
[source]
repo = "https://github.com/kivikakk/comrak"
commit = "60a4fae8babc3847089592868583be83d635ff1a"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "comrak"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/comrak /out/usr/bin/comrak"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "genact"
version = "1.5.1"
[source]
repo = "https://github.com/svenstaro/genact"
commit = "072b491502747fd55f634ad9ba698e92b14e0bbb"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "genact"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/genact /out/usr/bin/genact"
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "hurl"
version = "8.0.1"
[source]
repo = "https://github.com/Orange-OpenSource/hurl"
commit = "a39c7c43457ba2aa8edad833f33f9afe28444838"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "hurl"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/hurl /out/usr/bin/hurl"
# buildInputs de nix (NO deps de hammer — cargo vendorea; backend Rust por
# defecto). Si algún sys-crate C falla, adaptá per-paquete (patch/feature): libxml2, openssl, curl
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "termscp"
version = "1.1.1"
[source]
repo = "https://github.com/veeso/termscp"
commit = "5cee1184dc4e20e3641bd3bc9beb15cc5a8edd35"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "termscp"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/termscp /out/usr/bin/termscp"
# buildInputs de nix (NO deps de hammer — cargo vendorea; backend Rust por
# defecto). Si algún sys-crate C falla, adaptá per-paquete (patch/feature): dbus, openssl, samba
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "macchina"
version = "6.4.0"
[source]
repo = "https://github.com/Macchina-CLI/macchina"
commit = "1e28e96fd75c86c1846921ed92b64fbe0bba6fa5"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "macchina"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/macchina /out/usr/bin/macchina"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "numbat"
version = "1.23.0"
[source]
repo = "https://github.com/sharkdp/numbat"
commit = "a7eef29edb7939c0edafd6ea638c09ed908e62a4"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "numbat"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/numbat /out/usr/bin/numbat"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "rage"
version = "0.11.2"
[source]
repo = "https://github.com/str4d/rage"
commit = "4e580378a6098fc306c1cb8b37a52fb7eaf791c1"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "rage"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/rage /out/usr/bin/rage"
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "repgrep"
version = "0.16.1"
[source]
repo = "https://github.com/acheronfail/repgrep"
commit = "e69d670d1a143b72b6e5ae5e7de61777bbd823fc"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "rgr"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/rgr /out/usr/bin/rgr"
# buildInputs de nix (NO deps de hammer — cargo vendorea; backend Rust por
# defecto). Si algún sys-crate C falla, adaptá per-paquete (patch/feature): asciidoctor
+24
View File
@@ -0,0 +1,24 @@
# cli-rust-8 — tanda 2026-06-23: CLI Rust populares ausentes del corpus (techo 1.96)
# calculadoras / texto / utilidades puras
numbat
comrak
huniq
eva
macchina
diskonaut
genact
boxxy
rage
termscp
# cargo-* (subcomandos)
cargo-update
cargo-info
cargo-sweep
cargo-hack
cargo-msrv
cargo-show-asm
# búsqueda / ast
ast-grep
repgrep
# red / http
hurl