public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4637] gccrs: Add gcc-check-target check-rust
@ 2022-12-13 13:17 Arthur Cohen
0 siblings, 0 replies; only message in thread
From: Arthur Cohen @ 2022-12-13 13:17 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:dc4171edb3c35690c67a928cbb431aa702bdbe79
commit r13-4637-gdc4171edb3c35690c67a928cbb431aa702bdbe79
Author: Philip Herron <philip.herron@embecosm.com>
Date: Tue Aug 23 16:04:30 2022 +0100
gccrs: Add gcc-check-target check-rust
This allows us to invoke the rust testsuite.
* Makefile.def: Add Rust language.
* Makefile.in: Regenerate via autogen.
Diff:
---
Makefile.def | 1 +
Makefile.in | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/Makefile.def b/Makefile.def
index 25e48938dbf..c67eb567783 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -676,6 +676,7 @@ languages = { language=go; gcc-check-target=check-go;
languages = { language=d; gcc-check-target=check-d;
lib-check-target=check-target-libphobos; };
languages = { language=jit; gcc-check-target=check-jit; };
+languages = { language=rust; gcc-check-target=check-rust; };
// Toplevel bootstrap
bootstrap_stage = { id=1 ; };
diff --git a/Makefile.in b/Makefile.in
index c426b0607c4..fad49011e61 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -61237,6 +61237,14 @@ check-gcc-jit:
(cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-jit);
check-jit: check-gcc-jit
+.PHONY: check-gcc-rust check-rust
+check-gcc-rust:
+ r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+ $(HOST_EXPORTS) \
+ (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-rust);
+check-rust: check-gcc-rust
+
# The gcc part of install-no-fixedincludes, which relies on an intimate
# knowledge of how a number of gcc internal targets (inter)operate. Delegate.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-13 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 13:17 [gcc r13-4637] gccrs: Add gcc-check-target check-rust Arthur Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).