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:
Jiahao XU 2025-05-05 23:52:01 +10:00 committed by GitHub
parent b4df017ff7
commit 38e42845bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View file

@ -115,13 +115,12 @@ rust-lld := "" #if use-cargo-zigbuild != "" {
# ICF: link-time identical code folding
#
# On windows it works out of the box and on linux it uses
# rust-lld.
# On windows it works out of the box.
rustc-icf := if for-release != "" {
if target-os == "windows" {
" -C link-arg=-Wl,--icf=safe"
} else if target-os == "linux" {
" -C link-arg=-Wl,--icf=safe"
""
} else {
""
}