Use mold linker for faster compilation
This commit is contained in:
parent
4f85aebd38
commit
a907817831
|
@ -0,0 +1,6 @@
|
|||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
rustflags = [
|
||||
"-C", "link-arg=-fuse-ld=mold",
|
||||
]
|
||||
|
|
@ -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 ..
|
||||
|
|
|
@ -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%/%-%`"
|
||||
|
|
Loading…
Reference in New Issue