Raise an informative error when running on macOS under Rosetta 2.

Current users only get a cryptic "Illegal instruction" crash.

Context: https://github.com/deepmind/mujoco/issues/611
PiperOrigin-RevId: 491705647
Change-Id: I1285897a36e858300ee3d125957e90754be9a7f7
This commit is contained in:
Saran Tunyasuvunakool
2022-11-29 12:17:58 -08:00
committed by Copybara-Service
parent 5f7d9f4f02
commit df25d7d602
9 changed files with 93 additions and 9 deletions
+1
View File
@@ -27,6 +27,7 @@ set(MUJOCO_ENGINE_SRCS
engine_core_constraint.h
engine_core_smooth.c
engine_core_smooth.h
engine_crossplatform.c
engine_crossplatform.h
engine_derivative.c
engine_derivative.h