Skip to content

Commit

Permalink
fix: use mold for linking and various other fixes (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored Jul 27, 2024
1 parent 831c2b2 commit 1d8cafc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
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
6 changes: 5 additions & 1 deletion 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.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 1d8cafc

Please sign in to comment.