-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Migrate validate_json.py
script to rust in run-make/rustdoc-map-file
test
#129149
Conversation
run-make/rustdoc-map-file
testvalidate_json.py
script to rust in run-make/rustdoc-map-file
test
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. The run-make-support library was changed cc @jieyouxu This PR modifies cc @jieyouxu |
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.
Cool! I have a few questions about jzon
and the test itself, but I'm glad it's viable to get rid of the python script :3
r? jieyouxu (unless you want Kobzol to review this specifically) |
ec7e0ea
to
b7de0cc
Compare
Sum up of what I did:
|
b7de0cc
to
7116ed4
Compare
Ah I forgot the improvement for error messages. Done as well. :) |
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.
Thanks, this looks good! Just one minor style nit on the re-export. Feel free to r=me after the nit once PR CI is green.
7116ed4
to
4cbd9ce
Compare
Moved the reexport with the others. |
This comment has been minimized.
This comment has been minimized.
4cbd9ce
to
6b1637c
Compare
The error is super weird:
It works locally, and |
... but that seems to work now, so... 🤷 @bors r+ rollup |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#128990 (Re-enable more debuginfo tests on freebsd) - rust-lang#129042 (Special-case alias ty during the delayed bug emission in `try_from_lit`) - rust-lang#129086 (Stabilize `is_none_or`) - rust-lang#129149 (Migrate `validate_json.py` script to rust in `run-make/rustdoc-map-file` test) - rust-lang#129154 (Fix wrong source location for some incorrect macro definitions) - rust-lang#129161 (Stabilize std::thread::Builder::spawn_unchecked) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#129149 - GuillaumeGomez:migrate-python-script, r=jieyouxu Migrate `validate_json.py` script to rust in `run-make/rustdoc-map-file` test This PR fixes the FIXME I added for future-me who become present-me. :') Since there are multiple `run-make` tests using python scripts, I suppose more of them will migrate to Rust, hence why I added the `jzon` public reexport to the `run-make-support` crate. cc `@jieyouxu` r? `@Kobzol`
Heh, I was also working on a version of this, and only noticed when my own changes wouldn't rebase cleanly onto master. 😅 My approach was to add a |
I'm not sure it's worth it to have anything more advanced than this but don't let it stop you. 😉 |
Bors is not correctly removing items from the queue @bors r- |
This PR fixes the FIXME I added for future-me who become present-me. :')
Since there are multiple
run-make
tests using python scripts, I suppose more of them will migrate to Rust, hence why I added thejzon
public reexport to therun-make-support
crate.cc @jieyouxu
r? @Kobzol