mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
rustc_plugin: Remove the compatibility shim
This commit is contained in:
parent
8831d766ac
commit
ce7a579cac
@ -3529,7 +3529,6 @@ dependencies = [
|
||||
"rustc_metadata",
|
||||
"rustc_mir",
|
||||
"rustc_parse",
|
||||
"rustc_plugin",
|
||||
"rustc_plugin_impl",
|
||||
"rustc_resolve",
|
||||
"rustc_save_analysis",
|
||||
@ -3758,13 +3757,6 @@ dependencies = [
|
||||
"syntax_pos",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustc_plugin"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"rustc_plugin_impl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rustc_plugin_impl"
|
||||
version = "0.0.0"
|
||||
|
@ -22,7 +22,6 @@ errors = { path = "../librustc_errors", package = "rustc_errors" }
|
||||
rustc_metadata = { path = "../librustc_metadata" }
|
||||
rustc_mir = { path = "../librustc_mir" }
|
||||
rustc_parse = { path = "../librustc_parse" }
|
||||
rustc_plugin = { path = "../librustc_plugin/deprecated" } # To get this in the sysroot
|
||||
rustc_plugin_impl = { path = "../librustc_plugin" }
|
||||
rustc_save_analysis = { path = "../librustc_save_analysis" }
|
||||
rustc_codegen_utils = { path = "../librustc_codegen_utils" }
|
||||
|
@ -31,7 +31,7 @@ rustc_passes = { path = "../librustc_passes" }
|
||||
rustc_typeck = { path = "../librustc_typeck" }
|
||||
rustc_lint = { path = "../librustc_lint" }
|
||||
rustc_errors = { path = "../librustc_errors" }
|
||||
rustc_plugin = { path = "../librustc_plugin", package = "rustc_plugin_impl" }
|
||||
rustc_plugin_impl = { path = "../librustc_plugin" }
|
||||
rustc_privacy = { path = "../librustc_privacy" }
|
||||
rustc_resolve = { path = "../librustc_resolve" }
|
||||
tempfile = "3.0.5"
|
||||
|
@ -29,8 +29,8 @@ use rustc_metadata::cstore;
|
||||
use rustc_mir as mir;
|
||||
use rustc_parse::{parse_crate_from_file, parse_crate_from_source_str};
|
||||
use rustc_passes::{self, ast_validation, hir_stats, layout_test};
|
||||
use rustc_plugin as plugin;
|
||||
use rustc_plugin::registry::Registry;
|
||||
use rustc_plugin_impl as plugin;
|
||||
use rustc_plugin_impl::registry::Registry;
|
||||
use rustc_privacy;
|
||||
use rustc_resolve::{Resolver, ResolverArenas};
|
||||
use rustc_traits;
|
||||
|
@ -1,14 +0,0 @@
|
||||
[package]
|
||||
authors = ["The Rust Project Developers"]
|
||||
name = "rustc_plugin"
|
||||
version = "0.0.0"
|
||||
build = false
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "rustc_plugin"
|
||||
path = "lib.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
rustc_plugin_impl = { path = ".." }
|
@ -1,8 +0,0 @@
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
|
||||
#![feature(staged_api)]
|
||||
#![unstable(feature = "rustc_private", issue = "27812")]
|
||||
#![rustc_deprecated(since = "1.38.0", reason = "\
|
||||
import this through `rustc_driver::plugin` instead to make TLS work correctly. \
|
||||
See https://github.com/rust-lang/rust/issues/62717")]
|
||||
|
||||
pub use rustc_plugin_impl::*;
|
Loading…
Reference in New Issue
Block a user