<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<h3 style="margin-top: 20px; margin-bottom: 10px;">
Cheng Shao pushed to branch wip/rip-stdcall at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/2185654d79e9cb74dccc14d3369baa5766e22425">2185654d</a></strong>
<div>
<span> by Cheng Shao </span> <i> at 2024-05-31T22:38:34+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #333238; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libraries/utils: remove stdcall related legacy logic

This commit removes stdcall related legacy logic in libraries and
utils. ccall should be used uniformly for all supported windows hosts
from now on.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/2512b24f8985047dca408828662425d96eecb361">2512b24f</a></strong>
<div>
<span> by Cheng Shao </span> <i> at 2024-05-31T22:38:42+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #333238; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>testsuite: adapt the testsuite for stdcall removal

This patch adjusts test cases to handle the stdcall removal:

- Some stdcall usages are replaced with ccall since stdcall doesn't
  make sense anymore.
- We also preserve some stdcall usages, and check in the expected
  warning messages to ensure GHC always warn about stdcall usages
  (-Wunsupported-calling-conventions) as expected.
- Error code testsuite coverage is slightly improved,
  -Wunsupported-calling-conventions is now tested.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/6f9fa4dad9393d270185311cd4e22467e1b9426d">6f9fa4da</a></strong>
<div>
<span> by Cheng Shao </span> <i> at 2024-05-31T22:38:42+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #333238; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>docs: minor adjustments for stdcall removal

This commit include minor adjustments of documentation related to
stdcall removal.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/123393267c5ff0ab61359d5660df237557816309">12339326</a></strong>
<div>
<span> by Cheng Shao </span> <i> at 2024-05-31T22:38:42+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #333238; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>docs: mention i386 Windows removal in 9.12 changelog

This commit mentions removal of i386 Windows support and stdcall
related change in the 9.12 changelog.
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#f595baeef5a4f6e40ab0d654fa17c31a4f4aec73">
docs/users_guide/9.12.1-notes.rst
</a>
</li>
<li class="file-stats">
<a href="#e16ae6db99f98868d3603a0c7df0bb6a793a330d">
docs/users_guide/using-warnings.rst
</a>
</li>
<li class="file-stats">
<a href="#eda53fd56da292564e3d1dde312eafab2a8d7a4f">
docs/users_guide/win32-dlls.rst
</a>
</li>
<li class="file-stats">
<a href="#0485a346ac58721a5b50079ee2d6924f05529b93">
<span class="deleted-file">

libraries/ghc-internal/include/windows_cconv.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#338dc2554bdf024f5dea202f6e0131ddc9ce2e67">
libraries/ghc-internal/src/GHC/Internal/Conc/POSIX.hs
</a>
</li>
<li class="file-stats">
<a href="#173818f0b386110ed16df6347d670df03495c6d6">
libraries/ghc-internal/src/GHC/Internal/Conc/Windows.hs
</a>
</li>
<li class="file-stats">
<a href="#9bfdc7cb01aeb2258735565bb388b839b961f92e">
libraries/ghc-internal/src/GHC/Internal/Environment.hs
</a>
</li>
<li class="file-stats">
<a href="#b07a8dd99f474ce6977414d7f135cd60f51cd574">
libraries/ghc-internal/src/GHC/Internal/Event/Windows.hsc
</a>
</li>
<li class="file-stats">
<a href="#df6b004204e0741529aae81944a73300c4452e3a">
libraries/ghc-internal/src/GHC/Internal/Event/Windows/FFI.hsc
</a>
</li>
<li class="file-stats">
<a href="#91a69a880815c5b41474fcc6f01c372464347ce8">
libraries/ghc-internal/src/GHC/Internal/IO/Encoding/CodePage.hs
</a>
</li>
<li class="file-stats">
<a href="#8642008a82ecbdc41d10134e2ea78efe7bf022cd">
libraries/ghc-internal/src/GHC/Internal/IO/Encoding/CodePage/API.hs
</a>
</li>
<li class="file-stats">
<a href="#98f41198712085df98c84da6726f73877a09ad68">
libraries/ghc-internal/src/GHC/Internal/IO/FD.hs
</a>
</li>
<li class="file-stats">
<a href="#bea5a3733fc4a12b127f1c1176965f2bc320f873">
libraries/ghc-internal/src/GHC/Internal/IO/Handle/Lock/Windows.hsc
</a>
</li>
<li class="file-stats">
<a href="#5888e643651bee0feceb5a2c242dc82f0bc8c16a">
libraries/ghc-internal/src/GHC/Internal/IO/Windows/Encoding.hs
</a>
</li>
<li class="file-stats">
<a href="#95f7cc5b5be0b5e20de69e41c4cc6174b34b3f69">
libraries/ghc-internal/src/GHC/Internal/IO/Windows/Handle.hsc
</a>
</li>
<li class="file-stats">
<a href="#7f4a9b678ebb68e75bf165c99cfb1140e7faa6d5">
libraries/ghc-internal/src/GHC/Internal/IO/Windows/Paths.hs
</a>
</li>
<li class="file-stats">
<a href="#ce2423261082f2d69843c15c7e8e29e0d3d2ab8f">
libraries/ghc-internal/src/GHC/Internal/System/Environment.hs
</a>
</li>
<li class="file-stats">
<a href="#76d2e35a616649872bb1146626b5174cad8cb8d7">
libraries/ghc-internal/src/GHC/Internal/System/Environment/Blank.hsc
</a>
</li>
<li class="file-stats">
<a href="#9e76ba168c8f76d52949c50dfefb61684cf86198">
libraries/ghc-internal/src/GHC/Internal/System/Environment/ExecutablePath.hsc
</a>
</li>
<li class="file-stats">
<a href="#41cac02c979c93acf97820896d4c8b1c19550156">
libraries/ghc-internal/src/GHC/Internal/Windows.hs
</a>
</li>
<li class="file-stats">
<a href="#007e668a40545c7b5476f7491bbe262f53303e56">
testsuite/tests/concurrent/should_run/T5611.hs
</a>
</li>
<li class="file-stats">
<a href="#cdfd310ee4a8330cbecc5b9d3c889b0ecca7d60d">
testsuite/tests/concurrent/should_run/T5611a.hs
</a>
</li>
<li class="file-stats">
<a href="#e8ed269810acbc57a83299d57094752eb8a711e2">
testsuite/tests/concurrent/should_run/conc036.hs
</a>
</li>
<li class="file-stats">
<a href="#0e8a270c1c271073c462cf70767c22a68b6f7a98">
testsuite/tests/concurrent/should_run/conc037.hs
</a>
</li>
<li class="file-stats">
<a href="#eb49f0f56c3b49b184b4205b1774294c04c39819">
testsuite/tests/concurrent/should_run/conc038.hs
</a>
</li>
<li class="file-stats">
<a href="#6d407a057a211e73abd6c529c001400bb322c20b">
testsuite/tests/concurrent/should_run/foreignInterruptible.hs
</a>
</li>
<li class="file-stats">
<a href="#2937d23144454625b5830e39f20bc1cede74d24e">
testsuite/tests/diagnostic-codes/codes.stdout
</a>
</li>
<li class="file-stats">
<a href="#2d522582226c5b506f235d327c55398645c7877c">
testsuite/tests/ffi/should_compile/all.T
</a>
</li>
<li class="file-stats">
<a href="#b2001685eb73f8bbf5a5f9c8638f656b2fd08cf8">
testsuite/tests/ffi/should_compile/cc004.hs
</a>
</li>
<li class="file-stats">
<a href="#806d53b58f7d13704e0ea6b107380f1bdbfc2989">
<span class="new-file">
+
testsuite/tests/ffi/should_compile/cc004.stderr
</span>
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: 0.875rem;">
The diff was not included because it is too large.
</h5>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/compare/2808b78cf3070e828bad645e984acc3b4e9db859...123393267c5ff0ab61359d5660df237557816309">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.haskell.org">gitlab.haskell.org</a>. <a href="https://gitlab.haskell.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.haskell.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>



</p>
</div>
</body>
</html>