Added rust build workaround to disable multiple jobs because of deadlock

This commit is contained in:
Jan Horak 2019-08-08 11:43:11 +02:00
parent 552b94bac7
commit 5b4070831b
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff --git a/config/makefiles/rust.mk b/config/makefiles/rust.mk
--- a/config/makefiles/rust.mk
+++ b/config/makefiles/rust.mk
@@ -10,6 +10,10 @@
# commands can be executed directly by make, without doing a round-trip
# through a shell.
+MOZ_MAKE_FLAGS := $(filter-out -j%,$(MAKEFLAGS))
+MAKEFLAGS += -j1
+
+
cargo_host_flag := --target=$(RUST_HOST_TARGET)
cargo_target_flag := --target=$(RUST_TARGET)