Skip to content

v1.12.2

Choose a tag to compare

@Goldziher Goldziher released this 02 Jul 04:37

Fixed

  • wasm: skip the tmux grammar on wasm32. Its generated parser.c is ~30MB — under TSLP_WASM_MAX_PARSER_BYTES (40MB) so the size gate doesn't catch it, but it still overruns the clang wasm backend during codegen. Added to DEFAULT_WASM_SKIP_GRAMMARS so the wasm build is clean; it degrades gracefully (absent from STATIC_LANGUAGES).
  • wasm: enable the getrandom js feature for wasm32-unknown-unknown. Build-dependencies (ureq) transitively depend on getrandom, which requires the js feature on that target; without it wasm32 builds failed with "the wasm*-unknown-unknown targets are not supported by default".
  • build: build.rs now reports failed_languages.txt write errors separately and always surfaces the underlying grammar compilation error even when the write fails.

Full Changelog: v1.12.1...v1.12.2