Skip to content

Conversation

@ochafik
Copy link
Contributor

@ochafik ochafik commented Dec 6, 2024

More work is needed, but here's already:

  • argument list expansion *
  • int filter

#8

@ochafik ochafik marked this pull request as ready for review December 6, 2024 23:54
@ochafik ochafik merged commit 916c181 into main Dec 7, 2024
5 checks passed
@ochafik ochafik deleted the expansions branch December 7, 2024 02:08
ochafik referenced this pull request in ochafik/minja Nov 2, 2025
Improve ai21labs/AI21-Jamba-1.5-Large support
CISC pushed a commit to aldehir/minja that referenced this pull request Dec 20, 2025
…le#15)

## Summary

This PR fixes multiple CI issues to get all builds passing on Windows,
macOS, and Linux.

## Changes

### Workflow Fixes
- **Branch trigger**: Changed from `master` to `main`
- **Sanitizer exclusions**: Added exclusions for MSVC ARM64 builds
(address/thread/undefined sanitizers not supported)

### Build Fixes
- **Disabled clang-tidy for address sanitizer builds**: Avoids GCC
`-Wno-maybe-uninitialized` flag incompatibility with clang-tidy
- **Disabled cppcheck on Windows**: Fixes `std.cfg` not found error
- **Added `-Wa,-mbig-obj` for MinGW Debug builds**: Fixes COFF section
limit exceeded error (>65535 sections)

### Python/Encoding Fixes
- **Added `PYTHONIOENCODING=utf-8`** to Configure and Test steps for
Windows Unicode support
- **Added `encoding='utf-8'`** to all file operations in
`fetch_templates_and_goldens.py`
- **Added `newline='\n'`** to force Unix line endings in generated files

### Test Fixes
- **Normalize actual template output**: Apply `normalize_newlines()` to
actual output in tests
- **Windows blank line workaround**: Added `collapse_blank_lines()` for
Windows due to a known issue where C++ minja outputs fewer newlines than
Python Jinja2 (tracked in google#16)

## Related Issues
- google#16 - Windows: C++ minja outputs fewer newlines than Python Jinja2

## Test Plan
- [x] All 28 CI jobs pass (Windows, macOS, Linux with various sanitizers
and build types)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
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