Expand description
Compile-time warnings for deprecated #[miniextendr] options (#2117).
A proc macro canβt emit a warning on stable Rust, but code that names a
#[deprecated] item can. The option parsers record the span of an
explicit worker, and the #[miniextendr] entry point appends one
reference to miniextendr_api::worker::WORKER_OPTION per recorded span,
so rustc warns at the option itself. #![allow(deprecated)] on the
enclosing module silences it.
ConstantsΒ§
- WORKER_
OPTIONS π
FunctionsΒ§
- take π
- The references that make rustc warn at each
workeroption recorded since the last call. - worker_
option π - Record an explicit
workeroption written atspan.