Skip to content

v1.0.21 — Conditional Compilation (cfg/features) + Hex Parser Fix

Choose a tag to compare

@murphsicles murphsicles released this 10 Jun 08:29
· 127 commits to main since this release

v1.0.21 — 2026-06-10

Built from bootstrap v0.14.9.

What is Zeta v1.0.x?

This is the AOT (ahead-of-time) compiler binary. It compiles Zeta source to native executables via LLVM. This release includes the bootstrap compiler changes from v0.14.9.

New: #[cfg(feature = "...")] Conditional Compilation

Feature-gated compilation for multi-module packages:

zetac my_program.z --features "xxh64,xxh3" -o output

Supports feature = "x", any(...), all(...), not(...), target_os, target_arch, target_family.

Fix: Hex literal MSB parsing

Hex constants ≥ 0x8000000000000000 now parse correctly (u64→i64 reinterpret instead of silently returning zero).

Highlights

  • @crypto/xxhash v0.2.0 package published with full feature-gated module set (xxh32, xxh64, xxh3, const variants)
  • Packaged xxhash now correctly compiles with --features "xxh64" for minimal builds

Changelog

See https://github.com/murphsicles/zeta/releases/tag/v0.14.9 for full bootstrap changelog.