rustVersion method
Implementation
Future<Version> rustVersion() async {
final res = await rustup.runCommand(['run', name, 'rustc', '--version']);
final versionString = res.split(' ')[1];
return Version.parse(versionString);
}
Future<Version> rustVersion() async {
final res = await rustup.runCommand(['run', name, 'rustc', '--version']);
final versionString = res.split(' ')[1];
return Version.parse(versionString);
}