@@ -6,17 +6,24 @@ class C2rust < Formula
66 license "BSD-3-Clause"
77
88 bottle do
9- sha256 cellar : :any , arm64_tahoe : "3f55b4ef476ce58c11011535f5e5f98ea66accca078c0d103cb0733543cf7569"
10- sha256 cellar : :any , arm64_sequoia : "a4c25aa436d370130b0c0a8dbb18919bd1dd12eee984681b245532b8c31ebb75"
11- sha256 cellar : :any , arm64_sonoma : "2f5fc229072c584fe2eddfca10ddfc9360c329793c9600b9e8bdbe84c0ac453e"
12- sha256 cellar : :any , sonoma : "cb681401b668d3b8209028129a8928fd7c19468b050b965a27edee786ddf3dba"
13- sha256 cellar : :any_skip_relocation , arm64_linux : "e31c608e1729f18d4dfeeccce3fbe8ed25f230eec3f41e3f0c53d21921a6a5ee"
14- sha256 cellar : :any_skip_relocation , x86_64_linux : "7b30f5226a1f86f2b9e0ed50a1612e976cadb6d11094be79dbe6aa60ffc7c40e"
9+ rebuild 1
10+ sha256 cellar : :any , arm64_tahoe : "02b162aef7ff29ffb882c721e04343c576f9bc49b6f4b9855f4eabb3c7ef49a3"
11+ sha256 cellar : :any , arm64_sequoia : "d9735069362304a255413ceac888da9a16f24550fc5bc00c7e5b51f4e18a273a"
12+ sha256 cellar : :any , arm64_sonoma : "e34dbaa9defa0abdda3206a6d3573f01e7189c000164ddd38bdd15cd6c925c5e"
13+ sha256 cellar : :any , sonoma : "948673e7583c5a65587427d3d395512b62680e7052317a309ab41212eedbf139"
14+ sha256 cellar : :any_skip_relocation , arm64_linux : "fa0c7fb22f978f82ae62ad7836e694d824b8a3aa5023288edbaef78ff0fc5430"
15+ sha256 cellar : :any_skip_relocation , x86_64_linux : "a44f295e493931b12b56000900bf345cba3616415b6d7007b7829f5b27af39c0"
1516 end
1617
1718 depends_on "cmake" => [ :build , :test ]
1819 depends_on "rust" => :build
19- depends_on "llvm@19" # LLVM 20 hits https://github.com/immunant/c2rust/issues/1252
20+ depends_on "llvm"
21+
22+ # Backport fix for "Encountered unsupported BuiltinType kind 104 for type __mfp8"
23+ patch do
24+ url "https://github.com/immunant/c2rust/commit/a2c2149dae044629a49e996597ab58eb950072d0.patch?full_index=1"
25+ sha256 "9ec18885f174526d3b6228c1e584dae942a5418f49089b4c0fc4439aecde7317"
26+ end
2027
2128 def install
2229 system "cargo" , "install" , *std_cargo_args ( path : "c2rust" )
0 commit comments