Subject: [bug#77616] [PATCH 1/6] gnu: mrustc: Update to 0.11.2.

From: Morgan Smith <[email-masked]>
Date: Mon, 7 Apr 2025 16:07:45 -0400

* gnu/packages/rust.scm(mrustc): Update to 0.11.2.
* gnu/local.mk: Remove mrustc-patches.patch.
* gnu/packages/patches/mrustc-patches.patch: Delete.

Change-Id: I617897570f8b43cce2dd9bf08151530cc11393ac
---
 gnu/local.mk                              |  1 -
 gnu/packages/patches/mrustc-patches.patch | 19 -------------------
 gnu/packages/rust.scm                     |  7 +++----
 3 files changed, 3 insertions(+), 24 deletions(-)
 delete mode 100644 gnu/packages/patches/mrustc-patches.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 02de02e65f..72a6310e4c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1875,7 +1875,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/mono-mcs-patches-from-5.10.0.patch	\
   %D%/packages/patches/mosaicatcher-unbundle-htslib.patch	\
   %D%/packages/patches/mrrescue-support-love-11.patch		\
-  %D%/packages/patches/mrustc-patches.patch			\
   %D%/packages/patches/mtools-mformat-uninitialized.patch	\
   %D%/packages/patches/mupen64plus-ui-console-notice.patch	\
   %D%/packages/patches/musl-cross-locale.patch			\
diff --git a/gnu/packages/patches/mrustc-patches.patch b/gnu/packages/patches/mrustc-patches.patch
deleted file mode 100644
index 626945e2a1..0000000000
--- a/gnu/packages/patches/mrustc-patches.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/rustc-1.54.0-src.patch b/rustc-1.54.0-src.patch
-index 088c723a..d322fd0d 100644
---- a/rustc-1.54.0-src.patch
-+++ b/rustc-1.54.0-src.patch
-@@ -302,14 +302,3 @@
-  use self::generic as arch;
-  
-  pub use self::arch::{vec128_storage, vec256_storage, vec512_storage};
--
----- src/llvm-project/llvm/include/llvm/Support/Signals.h
--+++ src/llvm-project/llvm/include/llvm/Support/Signals.h
--@@ -14,6 +14,7 @@
-- #ifndef LLVM_SUPPORT_SIGNALS_H
-- #define LLVM_SUPPORT_SIGNALS_H
-- 
--+#include <cstdint>
-- #include <string>
-- 
-- namespace llvm {
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index bf7eeb5fbf..3200f59abd 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -128,9 +128,9 @@ (define* (rust-bootstrapped-package base-rust version checksum)
 
 ;;; Note: mrustc's only purpose is to be able to bootstap Rust; it's designed
 ;;; to be used in source form.
-(define %mrustc-commit "5e01a76097265f4bb27b18885b9af3f2778180f9")
+(define %mrustc-commit "2a9ab55bbaa706544858ab0968180e665fe7ff4a")
 (define %mrustc-source
-  (let* ((version "0.11.0")
+  (let* ((version "0.11.2")
          (commit %mrustc-commit)
          (revision "1")
          (name "mrustc"))
@@ -141,8 +141,7 @@ (define %mrustc-source
             (commit %mrustc-commit)))
       (file-name (git-file-name name (git-version version revision commit)))
       (sha256
-       (base32 "1yyjfl1z6d5r9sv7zl90kqyjw1lqd2cqzwh2syi7yvrpslhihrhy"))
-      (patches (search-patches "mrustc-patches.patch"))
+       (base32 "177c4yr62gh9g85h3w472ybkl9mh2cx6hpp3k6n7i2zbcpd7wvqx"))
       (modules '((guix build utils)))
       (snippet
        '(begin

base-commit: 7be2b8f57f6986654f198b43b4e96833e18b1a77
-- 
2.49.0