summaryrefslogtreecommitdiffstats
path: root/debian/patches/rust-enabled.diff
blob: d0972fa1cb2421bc20e06a53f120300c6bd44162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# DP: Explicitely enable rust, too late to be removed from 23.04

--- a/src/configure.ac
+++ b/src/configure.ac
@@ -2150,18 +2150,6 @@ if test -d ${srcdir}/gcc; then
             ;;
         esac
 
-        # Disable Rust for GCC 13 release.
-        case ${add_this_lang}:${language} in
-          yes:rust)
-            # Specifically requested language; tell them.
-            AC_MSG_ERROR([Rust is not supported in GCC 13 release])
-           ;;
-          *:rust)
-            # Silently disable.
-            add_this_lang=unsupported
-            ;;
-        esac
-
         # Disable jit if -enable-host-shared not specified
         # but not if building for Mingw. All code in Windows
         # is position independent code (PIC).