Skip to content

ci: normalize rust src locations for ui_test - #6272

Merged
Icxolu merged 1 commit into
PyO3:mainfrom
davidhewitt:normalize-rust-src
Jul 31, 2026
Merged

ci: normalize rust src locations for ui_test#6272
Icxolu merged 1 commit into
PyO3:mainfrom
davidhewitt:normalize-rust-src

Conversation

@davidhewitt

Copy link
Copy Markdown
Member

I think this should unblock #6269 merging cleanly...

While at it I implemented a helper to try to tell users if their rust-src is not present which has been a common UI test pain historically.

Comment on lines +276 to +281
// This causes `ui_test` to emit:
//
// ```
// error: a bug in `ui_test` occurred
// rust-src is required for UI tests; install it with `rustup component add rust-src`
// ```

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.

Nice! I think this can be very valuable for new contributors.

@Icxolu
Icxolu added this pull request to the merge queue Jul 31, 2026
Merged via the queue into PyO3:main with commit a71427d Jul 31, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants