Skip to content

Commit

Permalink
Compile all abi-cafe tests with debuginfo enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Oct 10, 2024
1 parent a146874 commit 14f656e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/0002-abi-cafe-Disable-broken-tests.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14f656e

Please sign in to comment.