Skip to content

Commit 75e33d8

Browse files
committed
Revert "Deliberately inject faults to verify CI tests these paths"
This reverts commit 38228c3.
1 parent e016c03 commit 75e33d8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cargo-auditable/src/rustc_wrapper.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ fn rustc_command_with_audit_data(rustc_path: &OsStr) -> Option<Command> {
129129
if is_apple(&target_info) {
130130
if args.bare_linker() {
131131
command.arg("-Clink-arg=-u,_AUDITABLE_VERSION_INFO");
132-
panic!("Apple codepath reached, CI should fail");
133132
} else {
134133
command.arg("-Clink-arg=-Wl,-u,_AUDITABLE_VERSION_INFO");
135134
}
@@ -144,7 +143,6 @@ fn rustc_command_with_audit_data(rustc_path: &OsStr) -> Option<Command> {
144143
if args.bare_linker() {
145144
command.arg("-Clink-arg=-u");
146145
command.arg("-Clink-arg=AUDITABLE_VERSION_INFO");
147-
panic!("POSIX codepath reached, CI should fail");
148146
} else {
149147
command.arg("-Clink-arg=-Wl,-u,AUDITABLE_VERSION_INFO");
150148
}

0 commit comments

Comments
 (0)