Limit Natvis namespace variants to two ABI tags (#5877)

The generator wrote a namespace entry for every combination of ABI tags,
so nlohmann_json.natvis doubled with each new tag. With the 12 tags on
develop it had reached 57.9 MB, and one more tag would push it past
GitHub's 100 MB file limit. It now covers the default namespace, every
single tag, and every pair of tags (versioned and unversioned), which is
158 entries / 1 MB with 12 tags.

Taken over from #5868. Refs #5863.

Signed-off-by: Kartikey <kg704925@gmail.com>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Co-authored-by: Kartikey <kg704925@gmail.com>
This commit is contained in:
Niels LohmannandKartikey authored and GitHub committed 2026-10-21 18:26:07 +02:00
1 parent ef3d350639
commit 3f8677d028
4 files changed
+10 -594519

No files matched your search

-594516
View File
File diff suppressed because it is too large. Load diff