Index: runtime/bin/run_vm_tests.cc |
diff --git a/runtime/bin/run_vm_tests.cc b/runtime/bin/run_vm_tests.cc |
index 67fe757fb921ab1939acc16daf33b9d0e81260d9..19ef7e9bf4165f4a6d683b4d1a1f53872e92310d 100644 |
--- a/runtime/bin/run_vm_tests.cc |
+++ b/runtime/bin/run_vm_tests.cc |
@@ -125,8 +125,10 @@ static int Main(int argc, const char** argv) { |
ASSERT(err_msg == NULL); |
} |
+#if defined(TARGET_OS_WINDOWS) |
// TODO(zra): Remove once VM shuts down cleanly. |
private_flag_windows_run_tls_destructors = false; |
+#endif |
// Print a warning message if no tests or benchmarks were matched. |
if (run_matches == 0) { |