Skip to content

Commit 0706df5

Browse files
committed
Update abi-checker version
1 parent 7610be4 commit 0706df5

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

build_system/abi_checker.rs

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use super::build_sysroot;
22
use super::config;
3-
use super::utils::spawn_and_wait_with_input;
3+
use super::utils::spawn_and_wait;
44
use build_system::SysrootKind;
55
use std::env;
66
use std::path::Path;
@@ -56,13 +56,5 @@ pub(crate) fn run(
5656
cmd.arg("--add-rustc-codegen-backend");
5757
cmd.arg(format!("cgclif:{}", cg_clif_dylib_path.display()));
5858

59-
let output = spawn_and_wait_with_input(cmd, "".to_string());
60-
61-
// TODO: The correct thing to do here is to check the exit code, but abi-checker
62-
// currently doesn't return 0 on success, so check for the test fail count.
63-
// See: https://github.com/Gankra/abi-checker/issues/10
64-
let failed = !(output.contains("0 failed") && output.contains("0 completely failed"));
65-
if failed {
66-
panic!("abi-checker failed!");
67-
}
59+
spawn_and_wait(cmd);
6860
}

build_system/prepare.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub(crate) fn prepare() {
1818
"abi-checker",
1919
"Gankra",
2020
"abi-checker",
21-
"7c1571da6e43f9a37347623e7d5c7d51be664a7b",
21+
"a2232d45f202846f5c02203c9f27355360f9a2ff",
2222
);
2323

2424
clone_repo_shallow_github(

0 commit comments

Comments
 (0)