b9740

ggml-org/llama.cppb9740Jun 20, 2026by github-actions[bot]same day as b9739

What changed since b9739

low risk

Windows-only fix guards the UTF-8 argv override so programmatic argv passed to common_params_parse is no longer clobbered.

Improvements

  • The Win32 make_utf8_argv override now only rebuilds argv when its length matches the caller's argc, preserving UTF-8 repair for real binaries while leaving synthetic argv untouched.
  • Test harness robustness improved with exception wrappers around the argument parser tests.

Bug fixes

  • Resolves intermittent test-args-parser failures on Windows where the real process command line replaced a synthetic argv, causing the model argument to be dropped and the success assertion to fastfail (0xC0000409).
  • Stabilizes the OpenVINO Windows CI workflow that surfaced the flaky failure.

Upgrade notes

This is a narrow Windows-only change; most users can upgrade with no action. If you embed llama.cpp and call common_params_parse with a programmatically constructed argv on Windows, that argv is now respected instead of being overwritten. No config or API changes are required.

Analyzed Oct 31, 2026

Upgrading?

Release notes summary

Fixes random test failures on Windows by guarding the make_utf8_argv override to avoid clobbering synthetic arguments passed programmatically during testing.

Key Highlights

  • Fixes Windows argument parser test stability
  • Prevents clobbering of programmatic argv in tests

New Features

  • Test infrastructure improvement

Release Notes (excerpt)

<details open> arg: try fixing test-args-parser randomly fails (#24826) * arg: try fixing test-args-parser randomly fails * return ref * try triggering the workflow * exception wrapper * wip * test * test 2 * arg: guard win32 utf8 argv override make_utf8_argv rebuilds argv from GetCommandLineW to fix utf8 handling of non ascii arguments on windows. the override runs unconditionally inside common_params_parse, so it also clobbers a programmatic argv passed by a…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories