about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/platform.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/platform.mk b/mk/platform.mk
index 45c1d3ab751..4f77cd1d117 100644
--- a/mk/platform.mk
+++ b/mk/platform.mk
@@ -38,6 +38,12 @@ ifneq ($(findstring freebsd,$(CFG_OSTYPE)),)
   CFG_DEF_SUFFIX := .bsd.def
   CFG_INSTALL_NAME =
   CFG_PERF_TOOL := /usr/bin/time
+
+  # FIXME (1825): We're deadlocking on FreeBSD
+  ifndef RUST_THREADS
+    RUST_THREADS=1
+    export RUST_THREADS
+  endif
 endif
 
 ifneq ($(findstring linux,$(CFG_OSTYPE)),)