mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-22 21:44:19 +02:00
Use lld (faster) linker for linux builds
This commit is contained in:
parent
4d690fa1d1
commit
a2acbbd039
2 changed files with 7 additions and 4 deletions
|
|
@ -6,4 +6,7 @@ ar = "/usr/bin/x86_64-w64-mingw32-ar"
|
|||
linker = "/usr/bin/i686-w64-mingw32-gcc"
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ i686-pc-windows-gnu:
|
|||
stage: build
|
||||
|
||||
before_script:
|
||||
- apt update -yqq && apt install -yqq mingw-w64
|
||||
- apt update -yqq && apt install -yqq mingw-w64 lld
|
||||
- rustup target add i686-pc-windows-gnu
|
||||
|
||||
script:
|
||||
|
|
@ -27,7 +27,7 @@ x86_64-pc-windows-gnu:
|
|||
stage: build
|
||||
|
||||
before_script:
|
||||
- apt update -yqq && apt install -yqq mingw-w64
|
||||
- apt update -yqq && apt install -yqq mingw-w64 lld
|
||||
- rustup target add x86_64-pc-windows-gnu
|
||||
|
||||
script:
|
||||
|
|
@ -44,7 +44,7 @@ x86_64-unknown-linux-gnu:
|
|||
stage: build
|
||||
|
||||
before_script:
|
||||
- apt update -yqq && apt install -yqq libxkbcommon-dev
|
||||
- apt update -yqq && apt install -yqq libxkbcommon-dev lld
|
||||
|
||||
script:
|
||||
- cargo build --features glow --release --target x86_64-unknown-linux-gnu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue