Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions tests/testsuite/build.rs

@weihanglo weihanglo Jul 12, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my previous comment #17203 (comment)

View changes since the review

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I misunderstood the main concern.I'll deepseek!

Original file line number Diff line number Diff line change
Expand Up @@ -872,19 +872,16 @@ fn cargo_compile_with_invalid_code_in_deps() {
.file("Cargo.toml", &basic_manifest("baz", "0.1.0"))
.file("src/lib.rs", "invalid rust code!")
.build();
p.cargo("build")
p.cargo("build -j1")
.with_status(101)
.with_stderr_data(
str![[r#"
[COMPILING] bar v0.1.0 ([ROOT]/bar)
[COMPILING] baz v0.1.0 ([ROOT]/baz)
[ERROR] could not compile `bar` (lib) due to 1 previous error
[ERROR] could not compile `baz` (lib) due to 1 previous error
.with_stderr_data(str![[r#"
...

"#]]
.unordered(),
)
[COMPILING] ba[..] v0.1.0 ([ROOT]/ba[..])
[ERROR] [..]
...
[ERROR] could not compile `ba[..]` (lib) due to 1 previous error
...
"#]])
.run();
}

Expand Down