Skip to content

Bump Windows 2019 to 2022 for Azure pipelines#22000

Merged
thewilsonator merged 1 commit intodlang:masterfrom
rikkimax:bump-win2019-2022
Oct 25, 2025
Merged

Bump Windows 2019 to 2022 for Azure pipelines#22000
thewilsonator merged 1 commit intodlang:masterfrom
rikkimax:bump-win2019-2022

Conversation

@rikkimax
Copy link
Copy Markdown
Contributor

Turns out we were supposed to do this 4 months ago.

actions/runner-images#12045

@dlang-bot
Copy link
Copy Markdown
Contributor

Thanks for your pull request and interest in making D better, @rikkimax! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#22000"

@thewilsonator
Copy link
Copy Markdown
Contributor

D:\a\1\s\tools\dmd2\windows\bin\lld-link.exe: error: could not open msvcrt100.lib: no such file or directory
D:\a\1\s\tools\dmd2\windows\bin\lld-link.exe: error: could not open OLDNAMES.lib: no such file or directory

@rikkimax
Copy link
Copy Markdown
Contributor Author

Bumping bootstrap compiler to 2.087.1 as that has the mingw import libraries (I think).

@rikkimax rikkimax force-pushed the bump-win2019-2022 branch 5 times, most recently from fcc6f28 to 9812a8a Compare October 19, 2025 11:33
@rikkimax
Copy link
Copy Markdown
Contributor Author

Further bump to 2.097.1 as there were other issues hiding out, and that number is used by the Ubuntu bootstrap.

@rikkimax
Copy link
Copy Markdown
Contributor Author

Hmm.

In Windows dmd bootstrap x64:

Assertion failed: j == 61440 && k == 3840, file runnable\exe1.c, line 1447

@rainers

Done Building Project "D:\a\1\s\compiler\src\vcbuild\dmd.sln" (dmd target(s)).

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:05.00

D:\a\1\s\compiler\src>D:\a\1\s\generated\Windows\Debug\x64\dmd.exe --version
'D:\a\1\s\generated\Windows\Debug\x64\dmd.exe' is not recognized as an internal or external command,
operable program or batch file.

I feel like I may have screwed something up there.

@rainers
Copy link
Copy Markdown
Member

rainers commented Oct 19, 2025

Assertion failed: j == 61440 && k == 3840, file runnable\exe1.c, line 1447

This is a spurious failure, see e.g. #20985

D:\a\1\s\compiler\src>D:\a\1\s\generated\Windows\Debug\x64\dmd.exe --version
'D:\a\1\s\generated\Windows\Debug\x64\dmd.exe' is not recognized as an internal or external command,
operable program or batch file.

The used version of Visual D (0.49) does not support VS2022, you must upgrade Visual D to 1.2 or later.

@rikkimax
Copy link
Copy Markdown
Contributor Author

Had to go up to 1.4.0, but otherwise looks like it has solved it.

@thewilsonator thewilsonator merged commit 36a541e into dlang:master Oct 25, 2025
42 checks passed
rikkimax added a commit to rikkimax/dmd that referenced this pull request Jan 30, 2026
This was referenced Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants