From ec78babad298b8fc0625370fe32f4c5bf0956165 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Wed, 26 Jan 2022 14:17:11 +0300 Subject: [PATCH] Use `mold` instead of default linker --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e46192d507..d1a232d3c9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,7 +54,7 @@ jobs: if [ ! -e tmp_install/bin/postgres ]; then # "depth 1" saves some time by not cloning the whole repo git submodule update --init --depth 1 - make postgres -j$(nproc) + mold -run make postgres -j$(nproc) fi - save_cache: @@ -110,7 +110,7 @@ jobs: fi export CARGO_INCREMENTAL=0 - "${cov_prefix[@]}" cargo build $CARGO_FLAGS --bins --tests + "${cov_prefix[@]}" mold -run cargo build $CARGO_FLAGS --bins --tests - save_cache: name: Save rust cache