-
Couldn't load subscription status.
- Fork 13.9k
improvements on build_steps::test implementation
#135887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -92,7 +92,7 @@ fn detect_src_and_out() { | |||||
| // `{build-dir}/bootstrap/debug/deps/bootstrap-c7ee91d5661e2804` | ||||||
| // `{build-dir}` can be anywhere, not just in the rust project directory. | ||||||
| let dep = Path::new(args.first().unwrap()); | ||||||
| let expected_out = dep.ancestors().nth(4).unwrap(); | ||||||
| let expected_out = dep.ancestors().nth(5).unwrap(); | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Output path now also includes the host triple as bootstrap passes that regardless even for non-cross builds rust/src/bootstrap/src/core/builder/cargo.rs Lines 415 to 416 in b2728d5
|
||||||
|
|
||||||
| assert_eq!(&cfg.out, expected_out); | ||||||
| } | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: this is already handled from
Cargowithrust/src/bootstrap/src/core/builder/cargo.rs
Lines 27 to 31 in b2728d5