-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Plugin interface cleanup #85296
Plugin interface cleanup #85296
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I think removing |
Could you add a test making sure that two plugins from two different crates still can be loaded together despite the identical names of the plugin registrar symbols? |
This comment has been minimized.
This comment has been minimized.
@bjorn3 Ping from triage, any updates on this? |
@bjorn3 Ping again from triage, any updates on this? |
Rebased, but I still need to at the requested test. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
447dac6
to
8611d9b
Compare
This comment has been minimized.
This comment has been minimized.
r=me with the failing test updated and commits squashed. |
2589a62
to
023936a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Opened servo/servo#28564 for the servo changes.
Fixed all failing tests and squashed all commits. @bors r=petrochenkov |
📌 Commit a501308 has been approved by |
☀️ Test successful - checks-actions |
Update script_plugin for rust-lang/rust#85296 This will update the script_plugin for the plugin interface changes in rust-lang/rust#85296. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it is a fix for rustc changes.
Update script_plugin for rust-lang/rust#85296 This will update the script_plugin for the plugin interface changes in rust-lang/rust#85296. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it is a fix for rustc changes.
Fix plugin registrar change. The plugin tests were broken due to a change in rust-lang/rust#85296 which removed the `plugin_registrar` attribute.
…hton Fix plugin registrar change. The plugin tests were broken due to a change in rust-lang/rust#85296 which removed the `plugin_registrar` attribute.
The first commit performs two uncontroversial cleanups. The second commit removes
#[plugin_registrar]
and instead requires you to export a__rustc_plugin_registrar
function, this will require a change to servo's script_plugins (cc @jdm)