From f83c8f25e4034481f7238b67a35010e2c58d5880 Mon Sep 17 00:00:00 2001 From: Oleksandr Kozachuk <201152+ok2@users.noreply.github.com> Date: Thu, 6 Aug 2026 12:23:02 +0200 Subject: [PATCH] build: add just install recipe Installs bat Forth syntax, then cargo install --locked the CLI. CARGO_PROFILE_RELEASE_STRIP=none because Cargo's release default (strip = "debuginfo") emits dylibs macOS 27 dyld rejects with "mis-aligned LINKEDIT string pool"; proc macros then fail to load during the build. --- Justfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Justfile b/Justfile index 3057bcf..ee98547 100644 --- a/Justfile +++ b/Justfile @@ -66,6 +66,13 @@ ci: fmt clippy deny test check: cargo check --workspace +# Install the wafer CLI (release build) and bat syntax highlighting. +# STRIP=none: Cargo's release default (strip = "debuginfo") emits dylibs that +# macOS 27's dyld rejects ("mis-aligned LINKEDIT string pool"), so proc macros +# fail to load during the build itself. +install: install-syntax + CARGO_PROFILE_RELEASE_STRIP=none cargo install --path crates/cli --locked + # Install bat syntax highlighting for WAFER / Forth install-syntax: mkdir -p ~/.config/bat/syntaxes