about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-10-10 16:09:42 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-10-10 16:09:42 +0000
commit14f656ede3d56eb786efd785137406111d028a09 (patch)
treeeb103d04e02d5b150139acc88d9af4496517ad5d
parenta146874989856a377d3bf121e3f6390f1f1bed25 (diff)
downloadrust-14f656ede3d56eb786efd785137406111d028a09.tar.gz
rust-14f656ede3d56eb786efd785137406111d028a09.zip
Compile all abi-cafe tests with debuginfo enabled
-rw-r--r--patches/0002-abi-cafe-Disable-broken-tests.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/0002-abi-cafe-Disable-broken-tests.patch b/patches/0002-abi-cafe-Disable-broken-tests.patch
index 8a2565f1668..4c89d65234a 100644
--- a/patches/0002-abi-cafe-Disable-broken-tests.patch
+++ b/patches/0002-abi-cafe-Disable-broken-tests.patch
@@ -7,6 +7,18 @@ Subject: [PATCH] Disable broken tests
  src/report.rs | 36 ++++++++++++++++++++++++++++++++++++
  1 file changed, 36 insertions(+)
 
+diff --git a/src/toolchains/rust.rs b/src/toolchains/rust.rs
+index 0c50f7a..bfde2b1 100644
+--- a/src/toolchains/rust.rs
++++ b/src/toolchains/rust.rs
+@@ -83,6 +83,7 @@ impl Toolchain for RustcToolchain {
+             .arg(out_dir)
+             .arg("--target")
+             .arg(built_info::TARGET)
++            .arg("-g")
+             .arg(format!("-Cmetadata={lib_name}"))
+             .arg(src_path);
+         if let Some(codegen_backend) = &self.codegen_backend {
 diff --git a/src/report.rs b/src/report.rs
 index 958ab43..dcf1044 100644
 --- a/src/report.rs