systemRustup static method

Rustup? systemRustup({
  1. Logger? logger,
})

Returns rustup in user PATH.

Implementation

static Rustup? systemRustup({Logger? logger}) {
  final executablePath = _findExecutablePath();
  return executablePath == null
      ? null
      : Rustup(executablePath: executablePath, logger: logger);
}