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 ec039c7 commit 6b6a7a4Copy full SHA for 6b6a7a4
src/bootstrap/dist.rs
@@ -308,6 +308,14 @@ fn make_win_dist(
308
builder.copy_to_folder(&src, &target_bin_dir);
309
}
310
311
+ // Warn windows-gnu users that the bundled GCC cannot compile C files
312
+ builder.create(
313
+ &target_bin_dir.join("DO NOT USE THIS gcc.exe FOR COMPILATION.txt"),
314
+ &"gcc.exe contained in this folder cannot be used for compiling C files - it is only\
315
+ used as a linker. In order to be able to compile projects containing C code use\
316
+ the GCC provided by MinGW or Cygwin."
317
+ );
318
+
319
//Copy platform libs to platform-specific lib directory
320
let target_lib_dir = plat_root.join("lib").join("rustlib").join(target_triple).join("lib");
321
fs::create_dir_all(&target_lib_dir).expect("creating target_lib_dir failed");
0 commit comments