summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorMrmaxmeier <Mrmaxmeier@gmail.com>2024-04-27 23:14:36 +0200
committerMrmaxmeier <Mrmaxmeier@gmail.com>2024-07-29 12:35:36 +0200
commit0b87af9d4f7c6faa9e89496609f016dc3e3977e1 (patch)
treec575ca9c9a0eda82907c10240ce1b3aab732e6b9 /compiler/rustc_interface/src/tests.rs
parent80d8270d8488957f62fbf0df7a19dfe596be92ac (diff)
downloadrust-0b87af9d4f7c6faa9e89496609f016dc3e3977e1.tar.gz
rust-0b87af9d4f7c6faa9e89496609f016dc3e3977e1.zip
Add `-Z embed-source=yes` to embed source code in DWARF debug info
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index ce3b2f77f21..c4704e38ce6 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -773,6 +773,7 @@ fn test_unstable_options_tracking_hash() {
     tracked!(direct_access_external_data, Some(true));
     tracked!(dual_proc_macros, true);
     tracked!(dwarf_version, Some(5));
+    tracked!(embed_source, true);
     tracked!(emit_thin_lto, false);
     tracked!(export_executable_symbols, true);
     tracked!(fewer_names, Some(true));