aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2022-11-21 00:01:20 +0100
committerThomas Schwinge <thomas@codesourcery.com>2022-12-14 10:20:15 +0100
commitcaca467268ad8c6a3c2177b9d3ac50d5299263b2 (patch)
tree12d7a5198c44e5d545bbaf852ba207c332e6889c
parent62d1620c91053438399064fa4eddb15d09cbabf4 (diff)
downloadgcc-caca467268ad8c6a3c2177b9d3ac50d5299263b2.zip
gcc-caca467268ad8c6a3c2177b9d3ac50d5299263b2.tar.gz
gcc-caca467268ad8c6a3c2177b9d3ac50d5299263b2.tar.bz2
'rust-warn += -Wno-unused-parameter'
(cherry picked from #1670 commit 7ceb5e29c80c1fc91e208ae6955a22b0b73a2e6b)
-rw-r--r--gcc/rust/Make-lang.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 21d7d4e..36f0688 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -24,6 +24,9 @@
# Use strict warnings for this front end.
rust-warn = $(STRICT_WARN)
+# ..., with the exception of '-Wunused-parameter'; waiting for
+# <https://github.com/Rust-GCC/gccrs/issues/1626> "bootstrap build failure".
+rust-warn += -Wno-unused-parameter
# Installation name. Useful for cross compilers and used during install.
GCCRS_INSTALL_NAME := $(shell echo gccrs|sed '$(program_transform_name)')