mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-06 12:10:02 +00:00
Bump ziglang to latest version (#2139)
* Bump ziglang to latest version
to fix the erorr in 4154918965
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Disable icf on linux
since latest zig-cc does not support it
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Disable cargo-auditable
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
b4df017ff7
commit
38e42845bc
3 changed files with 4 additions and 6 deletions
3
.github/workflows/release-packages.yml
vendored
3
.github/workflows/release-packages.yml
vendored
|
@ -59,7 +59,6 @@ jobs:
|
||||||
GLIBC_VERSION: ${{ matrix.g }}
|
GLIBC_VERSION: ${{ matrix.g }}
|
||||||
JUST_USE_CARGO_ZIGBUILD: ${{ matrix.c }}
|
JUST_USE_CARGO_ZIGBUILD: ${{ matrix.c }}
|
||||||
JUST_FOR_RELEASE: true
|
JUST_FOR_RELEASE: true
|
||||||
JUST_USE_AUDITABLE: true
|
|
||||||
JUST_ENABLE_H3: true
|
JUST_ENABLE_H3: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -77,7 +76,7 @@ jobs:
|
||||||
|
|
||||||
- uses: ./.github/actions/just-setup
|
- uses: ./.github/actions/just-setup
|
||||||
with:
|
with:
|
||||||
tools: cargo-auditable,rsign2,rage
|
tools: rsign2,rage
|
||||||
env:
|
env:
|
||||||
# just-setup use binstall to install sccache,
|
# just-setup use binstall to install sccache,
|
||||||
# which works better when we provide it with GITHUB_TOKEN.
|
# which works better when we provide it with GITHUB_TOKEN.
|
||||||
|
|
5
justfile
5
justfile
|
@ -115,13 +115,12 @@ rust-lld := "" #if use-cargo-zigbuild != "" {
|
||||||
|
|
||||||
# ICF: link-time identical code folding
|
# ICF: link-time identical code folding
|
||||||
#
|
#
|
||||||
# On windows it works out of the box and on linux it uses
|
# On windows it works out of the box.
|
||||||
# rust-lld.
|
|
||||||
rustc-icf := if for-release != "" {
|
rustc-icf := if for-release != "" {
|
||||||
if target-os == "windows" {
|
if target-os == "windows" {
|
||||||
" -C link-arg=-Wl,--icf=safe"
|
" -C link-arg=-Wl,--icf=safe"
|
||||||
} else if target-os == "linux" {
|
} else if target-os == "linux" {
|
||||||
" -C link-arg=-Wl,--icf=safe"
|
""
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
cargo-zigbuild
|
cargo-zigbuild
|
||||||
|
|
||||||
###### Requirements with Version Specifiers ######
|
###### Requirements with Version Specifiers ######
|
||||||
ziglang < 0.11 # zig 0.11 causes link failure in our CI
|
ziglang
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue