pub struct Xtask {
pub subcommand: XtaskCmd,
}
Fields§
§subcommand: XtaskCmd
Implementations§
source§impl Xtask
impl Xtask
const HELP_: &'static str = "xtask\n Run custom build command.\n\nOPTIONS:\n -h, --help\n Prints help information.\n\nSUBCOMMANDS:\n\nxtask install\n Install rust-analyzer server or editor plugin.\n\n OPTIONS:\n --client\n Install only VS Code plugin.\n\n --code-bin <name>\n One of `code`, `code-exploration`, `code-insiders`, `codium`, or `code-oss`.\n\n --server\n Install only the language server.\n\n --mimalloc\n Use mimalloc allocator for server.\n\n --jemalloc\n Use jemalloc allocator for server.\n\n --proc-macro-server\n Install the proc-macro server.\n\n --dev-rel\n build in release with debug info set to 2.\n\n\nxtask fuzz-tests\n\n\nxtask release\n\n OPTIONS:\n --dry-run\n\n\nxtask rustc-pull\n\n OPTIONS:\n --commit <refspec>\n rustc commit to pull.\n\n\nxtask rustc-push\n\n OPTIONS:\n --rust-path <rust_path>\n rust local path, e.g. `../rust-rust-analyzer`.\n\n --rust-fork <rust_fork>\n rust fork name, e.g. `matklad/rust`.\n\n --branch <branch>\n branch name.\n\n\nxtask dist\n\n OPTIONS:\n --mimalloc\n Use mimalloc allocator for server\n\n --jemalloc\n Use jemalloc allocator for server\n\n --client-patch-version <version>\n\n\nxtask publish-release-notes\n Read a changelog AsciiDoc file and update the GitHub Releases entry in Markdown.\n\n ARGS:\n <changelog>\n Target changelog file.\n\n OPTIONS:\n --dry-run\n Only run conversion and show the result.\n\n\nxtask metrics\n\n ARGS:\n [measurement_type]\n\n\nxtask bb\n Builds a benchmark version of rust-analyzer and puts it into `./target`.\n\n ARGS:\n <suffix>\n\n\nxtask codegen\n\n ARGS:\n [codegen_type]\n\n OPTIONS:\n --check\n\n\nxtask tidy\n"
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Xtask
impl RefUnwindSafe for Xtask
impl Send for Xtask
impl Sync for Xtask
impl Unpin for Xtask
impl UnwindSafe for Xtask
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more