From caca467268ad8c6a3c2177b9d3ac50d5299263b2 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 21 Nov 2022 00:01:20 +0100 Subject: [PATCH] 'rust-warn += -Wno-unused-parameter' (cherry picked from #1670 commit 7ceb5e29c80c1fc91e208ae6955a22b0b73a2e6b) --- gcc/rust/Make-lang.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 21d7d4eef716..36f068818468 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 +# "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)') -- 2.47.2