Repository navigation
v0.2.4-beta
·
84 commits
to main
since this release
Added
- Quick-install scripts.
install.sh(POSIX bash) andinstall.ps1(Windows PowerShell) at the repo root download the latestprimarelease binary for the detected OS/architecture (mapping to the release matrix targets), verify the SHA-256 checksum, and install to~/.local/bin(override withPRIMA_INSTALL_DIR;PRIMA_TARGET/PRIMA_VERSIONoverride detection). The README now shows the one-line install commands. - CI workflow (
.github/workflows/ci.yml). Runscargo fmt --all --checkandcargo clippy --workspace --all-targets -- -D warningson ubuntu andcargo test --workspaceon ubuntu + windows, for every push tomain/devand every pull request. tests/cli.rs:run_all_examples_succeednow also runs the previously unasserted examplesautodiff,builtin_layers,capi,config_simplify,fstring,jit,mymath,opt_levels.
Changed
- Release workflow macOS matrix.
x86_64-apple-darwinwas pinned tomacos-13, a GitHub-hosted runner retired in Dec 2025 — a retiredruns-onlabel leaves the job queued forever instead of failing. Both macOS targets now run onmacos-15(arm64):x86_64-apple-darwinis cross-compiled on Apple Silicon viarustup target add+cargo build --target(the Xcode SDK is universal), andaarch64-apple-darwinbuilds natively. The build job gained atimeout-minutessafety net and verifies the x86_64 macOS artifact's architecture withfile. - Comment/consistency housekeeping. Removed stray Chinese text from code comments (
src/diagnostics.rs,examples/jit.pra), fixed a duplicated phrase inexamples/linear_algebra.pra, dropped stale "prima-jit is a stub" wording inbenches/bench_jit.rs(the crate is fully implemented), and reworded "deferred to a later phase/stage" doc comments to "later release".docs/IMPLEMENTATION-*.md§5 roadmap heading updated to reflect Phases 0–12 scope. - Workspace reformatted with
cargo fmt(rustfmt 1.9). The whole workspace is now canonical rustfmt output (cargo fmt --all --checkpasses), so formatting is enforced in CI like clippy and the tests. - README (English + Chinese) rewritten with badges, an install section, and updated document version references (v2.1 → v2.3); the broken
cargo run -- release runquick-start command was corrected.