installTarget method

Future<void> installTarget(
  1. RustTarget target
)

Implementation

Future<void> installTarget(RustTarget target) async {
  return await _mutex.protect(() async {
    _cachedTargets = null;
    await rustup
        .runCommand(['target', 'add', target.triple, '--toolchain', name]);
  });
}