diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2023-02-12 16:34:43 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2023-02-12 16:34:43 +0100 |
commit | fb6b70e8bdb8ce25a401b9f7a6449e0f865f40ce (patch) | |
tree | 9037f0424fcb5157b47840f8c79126567748e123 | |
parent | 6144cf290f9c7a2bb757d3a058a4ff5aa544dd35 (diff) | |
parent | b0edfa0ef02c0f4820cec0601a4fd85aba516428 (diff) | |
download | gcc-fb6b70e8bdb8ce25a401b9f7a6449e0f865f40ce.zip gcc-fb6b70e8bdb8ce25a401b9f7a6449e0f865f40ce.tar.gz gcc-fb6b70e8bdb8ce25a401b9f7a6449e0f865f40ce.tar.bz2 |
Merge commit 'b0edfa0ef02c0f4820cec0601a4fd85aba516428' into HEAD
-rw-r--r-- | gcc/rust/Make-lang.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index d625f4f..72ca52d 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -289,6 +289,18 @@ s-selftest-rust: $(RUST_SELFTEST_DEPS) $(GCC_FOR_TARGET) $(RUST_SELFTEST_FLAGS) $(STAMP) $@ +# Convenience methods for running rust selftests under gdb: +.PHONY: selftest-rust-gdb +selftest-rust-gdb: $(RUST_SELFTEST_DEPS) + $(GCC_FOR_TARGET) $(RUST_SELFTEST_FLAGS) \ + -wrapper gdb,--args + +# Convenience methods for running rust selftests under valgrind: +.PHONY: selftest-rust-valgrind +selftest-rust-valgrind: $(RUST_SELFTEST_DEPS) + $(GCC_FOR_TARGET) $(RUST_SELFTEST_FLAGS) \ + -wrapper valgrind,--leak-check=full + # Install info documentation for the front end, if it is present in the source directory. This target # should have dependencies on info files that should be installed. rust.install-info: |