about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-08-22 11:51:02 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-08-22 11:51:02 +1000
commit7232a07f5a44831b794be120b8bfd52b856a13f6 (patch)
tree5b836c32585739afa5f98ba5a0e02e027a0d73bd
parenta32d4a0e822a29a6682e08b75a8df4c29c7fa9f1 (diff)
downloadrust-7232a07f5a44831b794be120b8bfd52b856a13f6.tar.gz
rust-7232a07f5a44831b794be120b8bfd52b856a13f6.zip
Explain the `run-make/debugger-visualizer-dep-info` Python script
-rw-r--r--tests/run-make/debugger-visualizer-dep-info/foo.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/run-make/debugger-visualizer-dep-info/foo.py b/tests/run-make/debugger-visualizer-dep-info/foo.py
index 1bb8bf6d7fd..d319792657e 100644
--- a/tests/run-make/debugger-visualizer-dep-info/foo.py
+++ b/tests/run-make/debugger-visualizer-dep-info/foo.py
@@ -1 +1,6 @@
-# empty
+# This is a Python script, but we don't actually run it.
+# So if you're trying to remove Python scripts from the test suite,
+# be aware that there's no value in trying to get rid of this one.
+#
+# It just needs to exist so that the compiler can embed it via
+# `#![debugger_visualizer(gdb_script_file = "...")]`.