Skip to content

Commit 42c64a5

Browse files
committed
zlib-rs: use ENV.append_to_rustflags
1 parent 161c5d8 commit 42c64a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/z/zlib-rs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ZlibRs < Formula
2222

2323
def install
2424
# https://github.com/trifectatechfoundation/zlib-rs/tree/main/libz-rs-sys-cdylib#-cllvm-args-enable-dfa-jump-thread
25-
ENV.append "RUSTFLAGS", "-Cllvm-args=-enable-dfa-jump-thread"
25+
ENV.append_to_rustflags "-Cllvm-args=-enable-dfa-jump-thread"
2626
cd "libz-rs-sys-cdylib" do
2727
system "cargo", "cinstall", "--jobs", ENV.make_jobs.to_s, "--prefix", prefix, "--libdir", lib, "--release"
2828
end

0 commit comments

Comments
 (0)