Skip to content

Commit

Permalink
fix: use mold for linking and various other fixes (terrapkg#1648) (te…
Browse files Browse the repository at this point in the history
…rrapkg#1666)

(cherry picked from commit 1d8cafc)

# Conflicts:
#	anda/devs/zed/preview/zed-preview.spec
  • Loading branch information
lleyton authored Jul 27, 2024
1 parent ea34772 commit 0a0df93
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions anda/devs/zed/nightly/zed-nightly.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions anda/devs/zed/preview/zed-preview.spec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Binary file removed anda/devs/zed/stable/v0.143.6.tar.gz
Binary file not shown.
2 changes: 2 additions & 0 deletions anda/devs/zed/stable/zed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a0df93

Please sign in to comment.