Skip to content

Commit a969971

Browse files
committed
After deleting the key lib.plugin, modify the corresponding document.
1 parent 8056001 commit a969971

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/doc/src/reference/cargo-targets.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ test = true # Is tested by default.
184184
doctest = true # Documentation examples are tested by default.
185185
bench = true # Is benchmarked by default.
186186
doc = true # Is documented by default.
187-
plugin = false # Used as a compiler plugin (deprecated).
188187
proc-macro = false # Set to `true` for a proc-macro library.
189188
harness = true # Use libtest harness.
190189
edition = "2015" # The edition of the target.
@@ -247,7 +246,7 @@ libraries and binaries.
247246
248247
### The `plugin` field
249248

250-
This field is used for `rustc` plugins, which are being deprecated.
249+
This option is deprecated and unused.
251250

252251
### The `proc-macro` field
253252

src/doc/src/reference/environment-variables.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Cargo includes the following paths:
299299
Cargo to properly set the environment if additional libraries on the system
300300
are needed in the search path.
301301
* The base output directory, such as `target/debug`, and the "deps" directory.
302-
This is mostly for legacy support of `rustc` compiler plugins.
302+
This is mostly for support of proc-macros.
303303
* The rustc sysroot library path. This generally is not important to most
304304
users.
305305

0 commit comments

Comments
 (0)