Uh oh!
There was an error while loading. Please reload this page.
Plugin interface cleanup - #85296
Conversation
rust-highfive
commented
May 14, 2021
(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.
petrochenkov
commented
May 14, 2021
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
petrochenkov
commented
May 15, 2021
I think removing |
petrochenkov
commented
May 15, 2021
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.
crlf0710
commented
Jun 5, 2021
@bjorn3 Ping from triage, any updates on this? |
JohnCSimon
commented
Jun 20, 2021
@bjorn3 Ping again from triage, any updates on this? |
bjorn3
commented
Jun 23, 2021
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
8611d9bCompare
This comment has been minimized.
This comment has been minimized.
petrochenkov
commented
Aug 8, 2021
r=me with the failing test updated and commits squashed. |
2589a62 to
023936aCompare
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.
bjorn3
commented
Aug 10, 2021
Opened servo/servo#28564 for the servo changes.
Fixed all failing tests and squashed all commits. @bors r=petrochenkov |
bors
commented
Aug 10, 2021
📌 Commit a501308 has been approved by |
bors
commented
Aug 12, 2021
bors
commented
Aug 12, 2021
☀️ 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_registrarfunction, this will require a change to servo's script_plugins (cc @jdm)