mirror of
https://github.com/imjasonh/krust
synced 2026-07-19 07:24:38 +00:00
Use cargo-zigbuild for cross-compilation, add build caching
- Integrate cargo-zigbuild as the default build backend, falling back to cargo build with best-effort linker detection if not installed - Auto-install rustup targets when missing (rustup target add) - Use persistent target/krust/ directory instead of temp dirs so incremental compilation works across runs - Remove .cargo/config.toml from repo (add to .gitignore) since zigbuild handles cross-linker configuration - Improve error messages: suggest cargo-zigbuild when linker not found - Simplify CI to use zigbuild instead of per-target system linkers - Simplify Makefile by removing setup-cross-compile/verify targets - Update README and CLAUDE.md to reflect new approach https://claude.ai/code/session_01EcsZDNeWn56wFqryb4Wq7r
This commit is contained in:
parent
68a9a86e1c
commit
bb76a120c3
8 changed files with 181 additions and 244 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -16,6 +16,7 @@ Thumbs.db
|
|||
|
||||
# Cargo
|
||||
Cargo.lock
|
||||
.cargo/
|
||||
|
||||
# Coverage
|
||||
tarpaulin-report.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue