diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..98c825d --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,6 @@ +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = [ + "-C", "link-arg=-fuse-ld=mold", +] + diff --git a/.ci/woodpecker/check.yml b/.ci/woodpecker/check.yml index d4f53af..1311c7a 100644 --- a/.ci/woodpecker/check.yml +++ b/.ci/woodpecker/check.yml @@ -9,6 +9,7 @@ pipeline: event: [push, pull_request] image: rust:1.59.0-slim commands: + - rm -r .cargo - apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential - cargo install sqlx-cli --features sqlite - cd quickpeep && bash dev_db.sh && cd .. diff --git a/.ci/woodpecker/release.yml b/.ci/woodpecker/release.yml index 63a428f..26d2806 100644 --- a/.ci/woodpecker/release.yml +++ b/.ci/woodpecker/release.yml @@ -17,6 +17,7 @@ pipeline: image: "rust:1.59.0" commands: + - rm -r .cargo - apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential - cargo install sqlx-cli --features sqlite - "qualsuff=`echo -$WOODPECKER_TAG-$WOODPECKER_ARCH | sed s%/%-%`"