1
0
Files
gcc-14/debian/patches/rust-enabled.diff
Konstantin Demin c2c1923c7b initial import from Debian
version: 14.3.0-5
commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
2025-08-11 15:00:09 +03:00

24 lines
744 B
Diff

# 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).