We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4fd492 commit 575a1a6Copy full SHA for 575a1a6
native_toolchain_rs/lib/src/build_environment.dart
@@ -48,7 +48,10 @@ interface class AndroidBuildEnvironmentFactory {
48
final compilerBinariesDir = path.dirname(
49
path.fromUri(cCompiler.compiler),
50
);
51
- final binaryPath = path.join(compilerBinariesDir, binaryName);
+ final binaryPath = path.join(
52
+ compilerBinariesDir,
53
+ (OS.current == OS.windows) ? '$binaryName.cmd' : binaryName,
54
+ );
55
56
if (!File(binaryPath).existsSync()) {
57
throw RustValidationException([
0 commit comments