From: Thomas Schwinge Date: Mon, 20 Feb 2023 12:01:50 +0000 (+0100) Subject: Rust: Don't depend on unused 'target-libffi', 'target-libbacktrace' X-Git-Tag: basepoints/gcc-14~937 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7411eca498beb13729cc2acec77e68250940aa81;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/rust/config-lang.in b/gcc/rust/config-lang.in index 89055be5cd45..aac66c9b962c 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"