Skip to content

Port tests/run-make/sysroot-crates-are-unstable from Python to rmake#126231

Closed
Zalathar wants to merge 1 commit intorust-lang:masterfrom
Zalathar:sysroot-crates
Closed

Port tests/run-make/sysroot-crates-are-unstable from Python to rmake#126231
Zalathar wants to merge 1 commit intorust-lang:masterfrom
Zalathar:sysroot-crates

Conversation

@Zalathar
Copy link
Copy Markdown
Member

@Zalathar Zalathar commented Jun 10, 2024

EDIT: See #129071 for a much simpler migration that doesn't try to get rid of the Python script.

(I would still like to finish porting the Python script at some point, but that doesn't have to be tied to the Makefile migration.)


Part of the run-make Makefile purge (#121876), and also the Python purge (#110479).

This is a relatively complex script by run-make standards, and it's not a direct 1:1 port, though I did try to retain all the functionality of the old script (such as reporting all errors instead of just the first one).

It's a bit annoying that reporting all errors requires so much extra plumbing.


While reviewing this just before posting, I realised that I neglected to port the set_ld_lib_path stuff (#89033), so marking this as draft until I've had a chance to look into that.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-run-make Area: port run-make Makefiles to rmake.rs A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants