Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 24, 2024
1 parent d7a51a4 commit 7d503bf
Show file tree
Hide file tree
Showing 31 changed files with 46 additions and 21 deletions.
4 changes: 4 additions & 0 deletions Reference-tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,10 @@ <h2 id="linker-ids">Linker ids</h2>
<td> emscripten's wasm-ld linker</td>
</tr>
<tr>
<td> ld.zigcc</td>
<td> The Zig linker (C/C++ frontend; GNU-like)</td>
</tr>
<tr>
<td> ld64</td>
<td> Apple ld64</td>
</tr>
Expand Down
14 changes: 14 additions & 0 deletions Release-notes-for-1-6-0.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,20 @@ <h2 id="test-and-benchmark-functions-accept-new-types">test() and benchmark() fu
executable is a wrapper which invokes another program given as an
argument.</p>
<pre><code class="language-meson">test('some_test', find_program('sudo'), args : [ find_program('sh'), 'script.sh' ])
</code></pre>
<h2 id="zig-011-can-be-used-as-a-cc-compiler-frontend">Zig 0.11 can be used as a C/C++ compiler frontend</h2>
<p>Zig offers
<a href="https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html">a C/C++ frontend</a> as a drop-in replacement for Clang. It worked fine with Meson up to Zig 0.10. Since 0.11, Zig's
dynamic linker reports itself as <code>zig ld</code>, which wasn't known to Meson. Meson now correctly handles
Zig's linker.</p>
<p>You can use Zig's frontend via a <a href="Machine-files.html">machine file</a>:</p>
<pre><code class="language-ini">[binaries]
c = ['zig', 'cc']
cpp = ['zig', 'c++']
ar = ['zig', 'ar']
ranlib = ['zig', 'ranlib']
lib = ['zig', 'lib']
dlltool = ['zig', 'dlltool']
</code></pre>

</div>
Expand Down
2 changes: 1 addition & 1 deletion assets/js/search/Clang
Original file line number Diff line number Diff line change
@@ -1 +1 @@
urls_downloaded_cb({"token":"Clang","urls":[{"url":"Builtin-options.html#details-for-warning_level","node_type":"table","page":"Built-in options","sections":["Built-in options","Universal options","Core options","Details for warning_level\n"],"context":{"gi-language":["default"]}},{"url":"Dependencies.html#blocks","node_type":"p","page":"Dependencies","sections":["Dependencies with custom lookup functionality","Blocks"],"context":{"gi-language":["default"]}},{"url":"Getting-meson.html#dependencies","node_type":"p","page":"Getting Meson","sections":["Getting Meson","Dependencies"],"context":{"gi-language":["default"]}},{"url":"Getting-meson_ptbr.html#dependncias","node_type":"p","page":"Obtendo o Meson","sections":["Obtendo o Meson","Dependências"],"context":{"gi-language":["default"]}},{"url":"Getting-meson_zh.html#","node_type":"p","page":"获取Meson","sections":["获取Meson","所需依赖"],"context":{"gi-language":["default"]}},{"url":"Reference-manual_returned_compiler.html#returned-by","node_type":"p","page":"Compiler object","sections":["Compiler object (compiler)","Returned by"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#compiler-ids","node_type":"table","page":"Reference tables","sections":["Reference tables","Compiler ids"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#gcc-__attribute__","node_type":"p","page":"Reference tables","sections":["Reference tables","Function Attributes","GCC __attribute__\n"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#msvc-__declspec","node_type":"p","page":"Reference tables","sections":["Reference tables","Function Attributes","MSVC __declspec"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-37-0.html#llvm-ir-compilation","node_type":"p","page":"Release 0.37","sections":["New features","LLVM IR compilation"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-51-0.html#added-c17-and-c18-as-c_std-values-for-recent-gcc-and-clang-versions","node_type":"h2","page":"Release 0.51.0","sections":["New features","Added c17 and c18 as c_std values for recent GCC and Clang Versions"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-51-0.html#support-for-the-intel-compiler-on-windows-icl","node_type":"p","page":"Release 0.51.0","sections":["New features","Support for the Intel Compiler on Windows (ICL)"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-52-0.html#add-blocks-dependency","node_type":"p","page":"Release 0.52.0","sections":["New features","Add blocks dependency"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-55-0.html#clang-coverage-support","node_type":"h2","page":"Release 0.55.0","sections":["New features","Clang coverage support"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-62-0.html#support-for-arm-ltd-clang-toolchain","node_type":"h2","page":"Release 0.62.0","sections":["New features","Support for ARM Ltd. Clang toolchain"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-63-0.html#support-for-mold-linker-added","node_type":"p","page":"Release 0.63.0","sections":["New features","Support for mold linker added"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions","node_type":"p","page":"Release 1.4.0","sections":["New features","\nndebug setting now controls C++ stdlib assertions"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-4-0.html#stldebug-gains-clang-support","node_type":"h2","page":"Release 1.4.0","sections":["New features","\nstldebug gains Clang support"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-5-0.html#basic-support-for-ti-arm-clang-tiarmclang","node_type":"h2","page":"Release 1.5.0","sections":["New features","Basic support for TI Arm Clang (tiarmclang)"],"context":{"gi-language":["default"]}},{"url":"Running-Meson.html#configuring-the-build-directory","node_type":"p","page":"Running Meson","sections":["Running Meson","Configuring the build directory"],"context":{"gi-language":["default"]}},{"url":"Simple-comparison.html#conclusions","node_type":"p","page":"A simple comparison","sections":["A simple comparison","Conclusions"],"context":{"gi-language":["default"]}},{"url":"Using-multiple-build-directories.html#multiple-build-directories-for-the-same-source-tree","node_type":"p","page":"Using multiple build directories","sections":["Using multiple build directories","Multiple build directories for the same source tree"],"context":{"gi-language":["default"]}},{"url":"Using-multiple-build-directories.html#specialized-uses","node_type":"p","page":"Using multiple build directories","sections":["Using multiple build directories","Specialized uses"],"context":{"gi-language":["default"]}},{"url":"howtox.html#set-linker","node_type":"p","page":"How do I do X in Meson?","sections":["How do I do X in Meson?","Set linker"],"context":{"gi-language":["default"]}},{"url":"howtox.html#use-address-sanitizer","node_type":"p","page":"How do I do X in Meson?","sections":["How do I do X in Meson?","Use address sanitizer"],"context":{"gi-language":["default"]}},{"url":"howtox.html#use-clang-static-analyzer","node_type":"h2","page":"How do I do X in Meson?","sections":["How do I do X in Meson?","Use Clang static analyzer"],"context":{"gi-language":["default"]}},{"url":"index.html#features","node_type":"ul","page":"The Meson Build system","sections":["The Meson Build system","Features"],"context":{"gi-language":["default"]}}]});
urls_downloaded_cb({"token":"Clang","urls":[{"url":"Builtin-options.html#details-for-warning_level","node_type":"table","page":"Built-in options","sections":["Built-in options","Universal options","Core options","Details for warning_level\n"],"context":{"gi-language":["default"]}},{"url":"Dependencies.html#blocks","node_type":"p","page":"Dependencies","sections":["Dependencies with custom lookup functionality","Blocks"],"context":{"gi-language":["default"]}},{"url":"Getting-meson.html#dependencies","node_type":"p","page":"Getting Meson","sections":["Getting Meson","Dependencies"],"context":{"gi-language":["default"]}},{"url":"Getting-meson_ptbr.html#dependncias","node_type":"p","page":"Obtendo o Meson","sections":["Obtendo o Meson","Dependências"],"context":{"gi-language":["default"]}},{"url":"Getting-meson_zh.html#","node_type":"p","page":"获取Meson","sections":["获取Meson","所需依赖"],"context":{"gi-language":["default"]}},{"url":"Reference-manual_returned_compiler.html#returned-by","node_type":"p","page":"Compiler object","sections":["Compiler object (compiler)","Returned by"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#compiler-ids","node_type":"table","page":"Reference tables","sections":["Reference tables","Compiler ids"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#gcc-__attribute__","node_type":"p","page":"Reference tables","sections":["Reference tables","Function Attributes","GCC __attribute__\n"],"context":{"gi-language":["default"]}},{"url":"Reference-tables.html#msvc-__declspec","node_type":"p","page":"Reference tables","sections":["Reference tables","Function Attributes","MSVC __declspec"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-37-0.html#llvm-ir-compilation","node_type":"p","page":"Release 0.37","sections":["New features","LLVM IR compilation"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-51-0.html#added-c17-and-c18-as-c_std-values-for-recent-gcc-and-clang-versions","node_type":"h2","page":"Release 0.51.0","sections":["New features","Added c17 and c18 as c_std values for recent GCC and Clang Versions"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-51-0.html#support-for-the-intel-compiler-on-windows-icl","node_type":"p","page":"Release 0.51.0","sections":["New features","Support for the Intel Compiler on Windows (ICL)"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-52-0.html#add-blocks-dependency","node_type":"p","page":"Release 0.52.0","sections":["New features","Add blocks dependency"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-55-0.html#clang-coverage-support","node_type":"h2","page":"Release 0.55.0","sections":["New features","Clang coverage support"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-62-0.html#support-for-arm-ltd-clang-toolchain","node_type":"h2","page":"Release 0.62.0","sections":["New features","Support for ARM Ltd. Clang toolchain"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-0-63-0.html#support-for-mold-linker-added","node_type":"p","page":"Release 0.63.0","sections":["New features","Support for mold linker added"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions","node_type":"p","page":"Release 1.4.0","sections":["New features","\nndebug setting now controls C++ stdlib assertions"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-4-0.html#stldebug-gains-clang-support","node_type":"h2","page":"Release 1.4.0","sections":["New features","\nstldebug gains Clang support"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-5-0.html#basic-support-for-ti-arm-clang-tiarmclang","node_type":"h2","page":"Release 1.5.0","sections":["New features","Basic support for TI Arm Clang (tiarmclang)"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-6-0.html#zig-011-can-be-used-as-a-cc-compiler-frontend","node_type":"p","page":"Release 1.6.0 (in development)","sections":["New features (in development)","Zig 0.11 can be used as a C/C++ compiler frontend"],"context":{"gi-language":["default"]}},{"url":"Running-Meson.html#configuring-the-build-directory","node_type":"p","page":"Running Meson","sections":["Running Meson","Configuring the build directory"],"context":{"gi-language":["default"]}},{"url":"Simple-comparison.html#conclusions","node_type":"p","page":"A simple comparison","sections":["A simple comparison","Conclusions"],"context":{"gi-language":["default"]}},{"url":"Using-multiple-build-directories.html#multiple-build-directories-for-the-same-source-tree","node_type":"p","page":"Using multiple build directories","sections":["Using multiple build directories","Multiple build directories for the same source tree"],"context":{"gi-language":["default"]}},{"url":"Using-multiple-build-directories.html#specialized-uses","node_type":"p","page":"Using multiple build directories","sections":["Using multiple build directories","Specialized uses"],"context":{"gi-language":["default"]}},{"url":"howtox.html#set-linker","node_type":"p","page":"How do I do X in Meson?","sections":["How do I do X in Meson?","Set linker"],"context":{"gi-language":["default"]}},{"url":"howtox.html#use-address-sanitizer","node_type":"p","page":"How do I do X in Meson?","sections":["How do I do X in Meson?","Use address sanitizer"],"context":{"gi-language":["default"]}},{"url":"howtox.html#use-clang-static-analyzer","node_type":"h2","page":"How do I do X in Meson?","sections":["How do I do X in Meson?","Use Clang static analyzer"],"context":{"gi-language":["default"]}},{"url":"index.html#features","node_type":"ul","page":"The Meson Build system","sections":["The Meson Build system","Features"],"context":{"gi-language":["default"]}}]});
1 change: 1 addition & 0 deletions assets/js/search/GNU-like
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
urls_downloaded_cb({"token":"GNU-like","urls":[{"url":"Reference-tables.html#linker-ids","node_type":"table","page":"Reference tables","sections":["Reference tables","Linker ids"],"context":{"gi-language":["default"]}}]});
2 changes: 1 addition & 1 deletion assets/js/search/Meson

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/search/Zig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
urls_downloaded_cb({"token":"Zig","urls":[{"url":"Reference-tables.html#linker-ids","node_type":"table","page":"Reference tables","sections":["Reference tables","Linker ids"],"context":{"gi-language":["default"]}},{"url":"Release-notes-for-1-6-0.html#zig-011-can-be-used-as-a-cc-compiler-frontend","node_type":"h2","page":"Release 1.6.0 (in development)","sections":["New features (in development)","Zig 0.11 can be used as a C/C++ compiler frontend"],"context":{"gi-language":["default"]}}]});
Loading

0 comments on commit 7d503bf

Please sign in to comment.