From 5d85939a3e3ebcfcf3f2ac9d3f2e01cbb1736578 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Feb 2023 13:01:50 +0100 Subject: [PATCH] Rust: Don't depend on unused 'target-libffi', 'target-libbacktrace' For example: configure: error: "libffi has not been ported to nvptx-unknown-none." Follow-up to commit a75f038c069cc3a23b214854bedf04321fe88bc5 "gccrs: Add config-lang.in", which said: > This was a copy/paste from gccgo front-end. We do not use any of the > target_libs yet, [...] gcc/rust/ * config-lang.in (target_libs): Remove. --- gcc/rust/config-lang.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/rust/config-lang.in b/gcc/rust/config-lang.in index 89055be5cd4..aac66c9b962 100644 --- a/gcc/rust/config-lang.in +++ b/gcc/rust/config-lang.in @@ -29,6 +29,4 @@ compilers="rust1\$(exeext)" build_by_default="no" -target_libs="target-libffi target-libbacktrace" - gtfiles="\$(srcdir)/rust/rust-lang.cc" -- 2.25.1