fix: use mold for linking and various other fixes (#1648) (#1665)

(cherry picked from commit 1d8cafc982)

# Conflicts:
#	anda/devs/zed/preview/zed-preview.spec
This commit is contained in:
lea
2024-07-26 20:32:23 -07:00
committed by GitHub
parent 21c6e31497
commit d11ddded6c
4 changed files with 10 additions and 2 deletions
+2
View File
@@ -7,6 +7,8 @@
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
# Use Mold as the linker
%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold
%global crate zed
%global app_id dev.zed.Zed-Nightly
+6 -2
View File
@@ -1,6 +1,10 @@
%bcond_without check
%global debug_package %{nil}
%global ver 0.146.0
%global ver 0.146.1
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
# Use Mold as the linker
%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold
%global crate zed
%global app_id dev.zed.Zed-Preview
Binary file not shown.
+2
View File
@@ -2,6 +2,8 @@
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
# Use Mold as the linker
%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold
%global crate zed
%global app_id dev.zed.Zed