Skip to content

make reference to issue a link #451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/download/0.14.0/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ <h1>0.14.0 Release Notes</h1>
<li><strong>[Breaking]</strong> <code>Compile.installConfigHeader</code> has had its second argument removed and now uses the value of <code>include_path</code> as its sub path, for parity with <code>Module.addConfigHeader</code>. Use <code>artifact.installHeader(config_h.getOutput(), &quot;foo.h&quot;)</code> if you want to set the sub path to something different.</li>
<li><strong>[Breaking]</strong> <code>Compile.installHeadersDirectory/installHeadersDirectoryOptions</code> have been consolidated into <code>Compile.installHeadersDirectory</code>, which takes a <code>LazyPath</code> and allows exclude/include filters just like <code>InstallDir</code>.</li>
<li><strong>[Breaking]</strong> <code>b.addInstallHeaderFile</code> now takes a <code>LazyPath</code>.</li>
<li><strong>[Breaking]</strong> As a workaround for #9698, the generated <code>-femit-h</code> header is now never emitted even when the user specifies an override for <code>h_dir</code>. If you absolutely need the emitted header, you now need to do <code>install_artifact.emitted_h = artifact.getEmittedH()</code> until <code>-femit-h</code> is fixed.</li>
<li><strong>[Breaking]</strong> As a workaround for <a href="https://github.com/ziglang/zig/issues/9698">#9698</a>, the generated <code>-femit-h</code> header is now never emitted even when the user specifies an override for <code>h_dir</code>. If you absolutely need the emitted header, you now need to do <code>install_artifact.emitted_h = artifact.getEmittedH()</code> until <code>-femit-h</code> is fixed.</li>
<li>added <code>WriteFile.addCopyDirectory</code>, which functions very similar to <code>InstallDir</code>.</li>
<li><code>InstallArtifact</code> has been updated to install the bundled headers alongide the artifact. The bundled headers are installed to the directory specified by <code>h_dir</code> (which is <code>zig-out/include</code> by default).</li>
</ul>
Expand Down