Files
Mujoco_WASM/python/mujoco
Yuval Tassa 135b482c9d Copybara import of the project:
--
7f117fa7a7060b36687e7544e8d7393d14a1fa90 by Yuval Tassa <tassa@google.com>:

Handle clang AST loc nodes with elided 'line' in introspect codegen.

Apple's math.h (included directly by mujoco.h) contains an anonymous union
whose clang-JSON 'loc' lacks the 'line' key (clang elides it when unchanged
from the previous node), crashing AstProcessor._make_anonymous_key with a
KeyError during bindings regeneration on macOS. glibc's math.h has no such
union, so this never bites on Linux.

Fall back to an offset-based key for line-less nodes; these system-header
structs are never referenced by MuJoCo types, so the key only needs to be
unique.

COPYBARA_INTEGRATE_REVIEW=https://github.com/google-deepmind/mujoco/pull/3411 from yuvaltassa:introspect-loc-fallback 7f117fa7a7060b36687e7544e8d7393d14a1fa90
PiperOrigin-RevId: 949626713
Change-Id: I9d99b427885ede18b075db6d4e507aa8bc0d049a
2026-07-17 10:02:30 -07:00
..
2026-06-20 15:10:54 -07:00
2024-11-19 14:07:21 -08:00
2022-05-25 07:01:59 -07:00
2026-07-07 11:44:46 -07:00
2022-05-23 01:08:49 -07:00
2026-06-16 12:06:34 -07:00
2023-10-13 16:13:24 -07:00
2026-07-07 11:44:46 -07:00
2026-07-04 11:27:27 -07:00
2024-12-16 09:57:08 -08:00
2024-12-16 09:57:08 -08:00
2026-05-01 09:34:17 -07:00