Skip to content

fix(build): unbreak experimental feature compile (esaxx-rs)#326

Closed
mohabbis wants to merge 1 commit into
masterfrom
cursor/fix-experimental-esaxx-build-e1a6
Closed

fix(build): unbreak experimental feature compile (esaxx-rs)#326
mohabbis wants to merge 1 commit into
masterfrom
cursor/fix-experimental-esaxx-build-e1a6

Conversation

@mohabbis

Copy link
Copy Markdown
Owner

Summary

--features experimental failed on Linux when clang used GCC 14 libstdc++ paths but only libstdc++-13 headers were installed (esaxx-rs / <cstdint>).

Disable tokenizers esaxx_fast (keep pure-Rust esaxx) so experimental builds without a C++ toolchain mismatch. Document VM CXX=g++ fallback in AGENTS.md.

Test plan

  • cargo check --features experimental --all-targets
  • cargo clippy --features experimental --all-targets -- -D warnings
  • default (non-experimental) check still passes
Open in Web Open in Cursor 

tokenizers' default esaxx_fast feature compiles esaxx-rs via clang/c++,
which fails on Linux VMs where /usr/bin/c++ is clang selecting GCC 14
without libstdc++-14-dev (`cstdint` not found). Keep progressbar+onig
only — local_llm only needs load/encode. Document the VM workaround.

Co-authored-by: Muhammad Rafiq <mohabbis@users.noreply.github.com>
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ghost Ready Ready Preview, Comment Jul 18, 2026 9:30pm

@cursor
cursor Bot marked this pull request as ready for review July 18, 2026 21:32
@mohabbis mohabbis closed this Jul 18, 2026
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.

2 participants