interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / mk / rust-u64.mk

18 lines · 1172 bytes Raw Blame History
1# #626 Rust lane (translation-compose-v1): rust-u64-wrapping-pure-v1 importer and S1-family Rust exporter.
2# Author self-test only (TESTED). SA_SEED_REPO must hold bridge commit 0fc7d866 (tools/source-aware/build).
3# Everything the self-test needs is built in-tree: build/L574/sa (mk/source-aware.mk) and
4# build/L589/c-import (mk/c-u64-import.mk). Overrides: RUST_SA_ROOT (checkout with tools/source-aware/sa and
5# build/L574/sa), RUST_C_IMPORT (native C importer), RUST_C_EXPORT (public tools/adapters/c-export of a
6# passing G1 checkout; empty = Rust->C reported NOT_RUN).
7SA_SEED_REPO ?= $(HOME)/workspace/omega-bridge
8export SA_SEED_REPO
9RUST_SA_ROOT ?= $(CURDIR)
10RUST_C_IMPORT ?= $(CURDIR)/build/L589/c-import
11RUST_C_EXPORT ?=
12.PHONY: rust-u64 test-rust-u64
13rust-u64:
14 nice -n 19 python3 tools/adapters/build-rust-u64.py
15test-rust-u64: rust-u64
16 $(MAKE) -f mk/source-aware.mk source-aware
17 $(MAKE) -f mk/c-u64-import.mk c-u64-import
18 nice -n 19 python3 tests/universal/translation/rust_selftest.py --sa-root '$(RUST_SA_ROOT)' --c-import '$(RUST_C_IMPORT)' --c-export '$(RUST_C_EXPORT)' --out build/L626/selftest-$$(python3 -c 'import uuid; print(uuid.uuid4().hex)')