Skip to content

Commit

Permalink
build: Set RUST_THREADS=1 on FreeBSD to avoid a threading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Feb 13, 2012
1 parent 486d07a commit 4eeb706
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mk/platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)),)
Expand Down

0 comments on commit 4eeb706

Please sign in to comment.