Fix MSVC ASan compilation by avoiding GCC/Clang specific stack instrumentation

PiperOrigin-RevId: 951656966
Change-Id: I51294e6a95c39f4037e8feb2aee45e69cb51beb0
This commit is contained in:
Yuval Tassa
2026-07-21 13:08:39 -07:00
committed by Copybara-Service
parent 8ccd2b6db5
commit 259e6c4dc6
12 changed files with 41 additions and 29 deletions
+1 -1
View File
@@ -812,7 +812,7 @@ TEST_F(EngineIoTest, TestStackShardingForThreads) {
}
}
#ifdef ADDRESS_SANITIZER
#ifdef mjUSEASAN
void MarkFreeStack(mjData* d, bool free) {
mj_markStack(d);
if (free) {