ci(workflows): added rust-hash CI flow to skip redundant native builds

This commit is contained in:
can1357
2026-04-30 14:11:48 +02:00
parent 69405b9910
commit bfddf9bf47
5 changed files with 147 additions and 64 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ Runtime x64 candidate order also includes the unsuffixed default filename after
- `TARGET_PLATFORM`: override output platform tag naming.
- `TARGET_ARCH`: override output arch naming.
- `TARGET_VARIANT` (x64 only): force `modern` or `baseline` for output filename and RUSTFLAGS policy.
- `CARGO_TARGET_DIR`: if set, respected; otherwise CI/cross builds use an isolated managed target directory under `target/napi-build/...`.
- `CARGO_TARGET_DIR`: respected if set; otherwise the default `target/` dir is used so `Swatinem/rust-cache` can cache cleanly.
- `RUSTFLAGS`:
- if unset and not cross-compiling, script sets:
- modern: `-C target-cpu=x86-64-v3`