From 6c71aca37a87078f0a9b8fda885429f115651647 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 20 Jun 2024 12:28:19 +0000 Subject: [PATCH 1/2] cargo-zigbuild 0.19.1 Signed-off-by: Rui Chen Co-authored-by: Branch Vincent --- Formula/c/cargo-zigbuild.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/c/cargo-zigbuild.rb b/Formula/c/cargo-zigbuild.rb index 99939e31e826..1dcddfc82a33 100644 --- a/Formula/c/cargo-zigbuild.rb +++ b/Formula/c/cargo-zigbuild.rb @@ -1,8 +1,8 @@ class CargoZigbuild < Formula desc "Compile Cargo project with zig as linker" homepage "https://github.com/rust-cross/cargo-zigbuild" - url "https://github.com/rust-cross/cargo-zigbuild/archive/refs/tags/v0.18.4.tar.gz" - sha256 "842422e0255b5fc5f274deaebb66f82e6a9a61b1b936869fa3453dc6f817e10c" + url "https://github.com/rust-cross/cargo-zigbuild/archive/refs/tags/v0.19.1.tar.gz" + sha256 "335f441157560d8cf9bc3f5ea4e6b5dd29da8aaa70b7504c1b904442840bb55f" license "MIT" head "https://github.com/rust-cross/cargo-zigbuild.git", branch: "main" @@ -30,6 +30,7 @@ def install # Remove errant CPATH environment variable for `cargo zigbuild` test # https://github.com/ziglang/zig/issues/10377 ENV.delete "CPATH" + ENV.delete "RUSTFLAGS" system "#{Formula["rustup-init"].bin}/rustup-init", "-y", "--no-modify-path" ENV.prepend_path "PATH", HOMEBREW_CACHE/"cargo_cache/bin" @@ -37,7 +38,7 @@ def install system "cargo", "new", "hello_world", "--bin" cd "hello_world" do - system "cargo", "zigbuild", "--target", "aarch64-unknown-linux-gnu.2.17" + system "cargo", "zigbuild", "--target", "aarch64-unknown-linux-gnu" end end end From c5030b456731a683f43aabeb6c650c759ffbc5a9 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sat, 20 Jul 2024 02:33:32 +0000 Subject: [PATCH 2/2] cargo-zigbuild: update 0.19.1 bottle. --- Formula/c/cargo-zigbuild.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/c/cargo-zigbuild.rb b/Formula/c/cargo-zigbuild.rb index 1dcddfc82a33..169701329e2f 100644 --- a/Formula/c/cargo-zigbuild.rb +++ b/Formula/c/cargo-zigbuild.rb @@ -7,13 +7,13 @@ class CargoZigbuild < Formula head "https://github.com/rust-cross/cargo-zigbuild.git", branch: "main" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "9eb5d769edd77dba56cac3df9ff869e88c55cdd746f3addac3cc5fb4f89a09ed" - sha256 cellar: :any_skip_relocation, arm64_ventura: "198a837a89d59a9bff4b7b2174f868edfc9a036b192b853b8b1433f4547df258" - sha256 cellar: :any_skip_relocation, arm64_monterey: "bbec8a424bbd1c6a3dc801836b1f10ca15a036c2cf88130d992e7380544e806b" - sha256 cellar: :any_skip_relocation, sonoma: "3195431d5a4ffaabe17870ac3b99af9ed1161f72f6a827fbb74ca1a8a8f12806" - sha256 cellar: :any_skip_relocation, ventura: "98cafd75fa6a83e4ec96ee16506c2aa275a09d53da1d7d9c1027fbc4d1f694fa" - sha256 cellar: :any_skip_relocation, monterey: "4d87a9cd75936df38d50c6c22b36890273aef541282e97ce03267bda07591d7a" - sha256 cellar: :any_skip_relocation, x86_64_linux: "6145aca7525c8a162d789641e8e8506c8d72c540e8bbd7657d38fdc6e366e90c" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "14e2c410e2abcc14e216745f8ce16f3932c7dfe6c77b1b44840bbe8f563954ee" + sha256 cellar: :any_skip_relocation, arm64_ventura: "b66ce12ac72d3659d3f38b5e1d50b6ed72dfccbeb27fb34c97e8fbe8122a9c5f" + sha256 cellar: :any_skip_relocation, arm64_monterey: "4cf4e792ed4c3a23e1cd54fea677ddee8003c75b6efab0eddb7329dbf8134e56" + sha256 cellar: :any_skip_relocation, sonoma: "e1bfdccd009f46fa7023ac253ca96da50e3592a5804e37867ff69581d0091d42" + sha256 cellar: :any_skip_relocation, ventura: "fa613fb487a8c34af7cd6710a096dd5874cebc794b2e98d6f48bde157d88e0b3" + sha256 cellar: :any_skip_relocation, monterey: "3a1ed2e7e356a00a155ec1416e8fbf84a76f036bf1243a0ee3883ad558646aa6" + sha256 cellar: :any_skip_relocation, x86_64_linux: "13a781ca29b03c00b5c204dfa7b7887d53ff3741a19dd6a8274e18092d40ad53" end depends_on "rust" => :build