]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
'rust-warn += -Wno-unused-parameter'
authorThomas Schwinge <thomas@codesourcery.com>
Sun, 20 Nov 2022 23:01:20 +0000 (00:01 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 14 Dec 2022 09:20:15 +0000 (10:20 +0100)
(cherry picked from #1670 commit 7ceb5e29c80c1fc91e208ae6955a22b0b73a2e6b)

gcc/rust/Make-lang.in

index 21d7d4eef71656aa52e40f649692d260585eef01..36f068818468514c708ac29caa5bfbbaec675ae0 100644 (file)
@@ -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)')