Skip to content

Fix the macOS and Windows release builds, and drop Intel Macs - #13

Merged
nicksan222 merged 2 commits into
mainfrom
release/apple-silicon-only
Oct 4, 2026
Merged

nicksan222 merged 2 commits into
mainfrom
release/apple-silicon-only

Conversation

@nicksan222

Copy link
Copy Markdown
Owner

The v0.1.0 release run failed on every platform. Linux was fixed in #12; this fixes the rest.

  • macOS (Apple Silicon): ERROR unsupported ColorType: Rgba16. cargo-packager can't make an icns from the 16-bit packaging/icon.png, so it's re-encoded as 8-bit RGBA (same image).
  • Windows: LNK2005 ×83, then LNK1169, linking study-ai. tokenizers' default esaxx_fast feature builds esaxx-rs C++ with static_crt(true) (libcpmt), which collides with the dynamic CRT (msvcprt) used everywhere else. study-ai now takes tokenizers with default-features = false, features = ["onig"]. esaxx only speeds up Unigram training; Study only loads tokenizers.
  • Intel macOS: ort does not provide prebuilt binaries for the target x86_64-apple-darwin. Dropped from the release matrix, release.sh's platform list (so the update feed no longer requires it) and the README.
  • The README's glibc floor now matches the Ubuntu 24.04 build from Run release actions on Node 24 and a pinned runner image #12 (2.39).

cargo test -p study-ai --lib passes locally. After merge I'll re-point v0.1.0 at main to rerun the release (no release was published from the failed run).

The first release run failed on every platform but Linux, whose fix landed separately.

- macOS: cargo-packager cannot make an icns from a 16-bit PNG ("unsupported ColorType: Rgba16"). The icon is now 8-bit RGBA.
- Windows: tokenizers' default esaxx_fast feature compiles C++ against the static CRT, so linking failed with LNK2005/LNK1169 against the dynamic CRT the rest of the build uses. study-ai drops tokenizers' default features and keeps onig; esaxx only speeds up training a tokenizer, which Study never does.
- Intel macOS: ort 2.0.0-rc.12 ships no ONNX Runtime build for x86_64-apple-darwin, so the platform is gone from the matrix, the update feed and the README.

The Linux AppImage is now built on Ubuntu 24.04, so the README's glibc floor drops to 2.39.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T09:19:45.734140Z 8e679ab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8e679ab422

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
@nicksan222
nicksan222 merged commit 500b4c5 into main Oct 4, 2026
3 checks passed
@nicksan222
nicksan222 deleted the release/apple-silicon-only branch October 4, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant