Rust: Don't depend on unused 'target-libffi', 'target-libbacktrace'
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 20 Feb 2023 12:01:50 +0000 (13:01 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 22 Feb 2023 08:18:51 +0000 (09:18 +0100)
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

index 89055be..aac66c9 100644 (file)
@@ -29,6 +29,4 @@ compilers="rust1\$(exeext)"
 
 build_by_default="no"
 
-target_libs="target-libffi target-libbacktrace"
-
 gtfiles="\$(srcdir)/rust/rust-lang.cc"