You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently mingw stage0 package does not contain mingw runtime libraries: libgcc_s_dw2-1.dll, libstdc++-6.dll, libpthread-2.dll.
However, mingw sometimes upgrades dll and the installer installs latest one as default. This makes a lot of problems and confusions.
Instead, we can bundle dlls with stage0 archive then we only depend on external g++ executable, not any runtime libraries.
This may also help upgrading mingw (#8598): currently, if you want to build rust with recent mingw or mingw-w64 (#8996), you have to copy old dlls at <builddir>/<triple>/stage0/bin/. It is really inconvenient.
The text was updated successfully, but these errors were encountered:
@alexcrichton, @brson: Is there a general agreement that this is what we want to do?
And if so, can we assume that Windows snapshot tar file will be created on a Windows machine? ('cause I am not sure that mingw runtime dlls are present in Linux mingw cross-compiler environment).
…rcho
Read and use deprecated configuration (as well as emitting a warning)
Original change written by `@flip1995` I've simply rebased to master and fixed up the formatting/tests. This change teaches the configuration parser which config key replaced a deprecated key and attempts to populate the latter from the former. If both keys are provided this fails with a duplicate key error (rather than attempting to guess which the user intended).
Currently this on affects `cyclomatic-complexity-threshold` -> `cognitive-complexity-threshold` but will also be used in rust-lang#8974 to handle `blacklisted-names` -> `disallowed-names`.
```
changelog: deprecated configuration keys are still applied as if they were provided as their non-deprecated name.
```
- [x] `cargo test` passes locally
- [x] Run `cargo dev fmt`
Currently mingw stage0 package does not contain mingw runtime libraries: libgcc_s_dw2-1.dll, libstdc++-6.dll, libpthread-2.dll.
However, mingw sometimes upgrades dll and the installer installs latest one as default. This makes a lot of problems and confusions.
A portable Version of Rust Compiler for Windows #3459 suggests portable version of installer, but it cannot be done in near future since we rely on
g++
linker.Instead, we can bundle dlls with stage0 archive then we only depend on external g++ executable, not any runtime libraries.
This may also help upgrading mingw (#8598): currently, if you want to build rust with recent mingw or mingw-w64 (#8996), you have to copy old dlls at
<builddir>/<triple>/stage0/bin/
. It is really inconvenient.The text was updated successfully, but these errors were encountered: