pub struct Xtask {
pub subcommand: XtaskCmd,
}Fields§
§subcommand: XtaskCmdImplementations§
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 --enable-profiling\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 --force-always-assert\n Make `never!()`, `always!()` etc. panic instead of just logging an error.\n\n --pgo <pgo>\n Apply PGO optimizations\n\n\nxtask fuzz-tests\n\n\nxtask release\n\n OPTIONS:\n --dry-run\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 --enable-profiling\n\n --client-patch-version <version>\n\n --zig\n Use cargo-zigbuild\n\n --pgo <pgo>\n Apply PGO optimizations\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