Skip to content

rustc_plugin: Remove some remaining plugin features - #66905

Merged
bors merged 5 commits into
rust-lang:masterfrom
petrochenkov:rmplugin2
Dec 2, 2019
Merged

rustc_plugin: Remove some remaining plugin features#66905
bors merged 5 commits into
rust-lang:masterfrom
petrochenkov:rmplugin2

Conversation

@petrochenkov

Copy link
Copy Markdown
Contributor
  • Plugin arguments (#![plugin(my_plugin(args))]) are no longer supported.
  • Registering additional plugins from command line (-Z extra-plugins=my_plugin) is no longer supported, -Z crate-attr=plugin(my_plugin) can be used instead.
  • Lint plugin_as_library is removed as mostly useless now, when plugins exist as a compatibility feature with greatly reduced functionality.
  • Plugins registering additional LLVM passes (Registry::register_llvm_pass) are no longer supported, -C passes=my_passes can be used instead.

r? @Centril

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 30, 2019
@Centril

Copy link
Copy Markdown
Contributor

Nice! @bors r+

@bors

bors commented Nov 30, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 54afd034e839926606ff7b2e551703101b471a4f has been approved by Centril

@bors

bors commented Nov 30, 2019

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 30, 2019
@CentrilCentril mentioned this pull request Nov 30, 2019
bors added a commit that referenced this pull request Dec 1, 2019
Rollup of 9 pull requests
Successful merges:
- #66612 (Initial implementation of or-pattern usefulness checking)
- #66705 (Atomic as_mut_ptr)
- #66759 (impl TrustedLen for vec::Drain)
- #66858 (Use LLVMAddAnalysisPasses instead of Rust's wrapper)
- #66870 (SimplifyArmIdentity only for locals with the same type)
- #66883 (rustc_typeck: gate AnonConst's generics on feature(const_generics).)
- #66889 (Make python-generated source files compatible with rustfmt)
- #66894 (Remove unneeded prelude imports in libcore tests)
- #66895 (Feature gating *declarations* => new crate `rustc_feature`)
Failed merges:
- #66905 (rustc_plugin: Remove some remaining plugin features)
r? @ghost
@bors

bors commented Dec 1, 2019

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #66908) made this pull request unmergeable. Please resolve the merge conflicts.

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 1, 2019
@petrochenkov

Copy link
Copy Markdown
ContributorAuthor

@bors r=Centril

@bors

bors commented Dec 1, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit e5944a5 has been approved by Centril

@bors

bors commented Dec 1, 2019

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 1, 2019
Centril added a commit to Centril/rust that referenced this pull request Dec 2, 2019
rustc_plugin: Remove some remaining plugin features
- Plugin arguments (`#![plugin(my_plugin(args))]`) are no longer supported.
- Registering additional plugins from command line (`-Z extra-plugins=my_plugin`) is no longer supported, `-Z crate-attr=plugin(my_plugin)` can be used instead.
- Lint `plugin_as_library` is removed as mostly useless now, when plugins exist as a compatibility feature with greatly reduced functionality.
- Plugins registering additional LLVM passes (`Registry::register_llvm_pass`) are no longer supported, `-C passes=my_passes` can be used instead.
r? @Centril
@CentrilCentril mentioned this pull request Dec 2, 2019
bors added a commit that referenced this pull request Dec 2, 2019
Rollup of 7 pull requests
Successful merges:
- #66346 (Replace .unwrap() with ? in std::os::unix::net)
- #66789 (rustc: move mir::SourceScopeLocalData to a field of SourceScopeData.)
- #66850 (rustc: hide HirId's fmt::Debug output from -Z span_free_formats.)
- #66905 (rustc_plugin: Remove some remaining plugin features)
- #66907 (rustc: don't just show raw DefIndex's in BrNamed's fmt::Debug impl.)
- #66918 (Add crc and crypto to target feature whitelist on arm)
- #66926 (add reusable MachineStop variant to Miri engine error enum)
Failed merges:
r? @ghost
@bors
bors merged commit e5944a5 into rust-lang:masterDec 2, 2019
@petrochenkov
petrochenkov deleted the rmplugin2 branch February 22, 2025 18:33
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@petrochenkov@Centril@bors@rust-highfive