From 5d85939a3e3ebcfcf3f2ac9d3f2e01cbb1736578 Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <thomas@codesourcery.com>
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(-)
@@ -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