aboutsummaryrefslogtreecommitdiff
path: root/tools/update-linux-headers.zig
AgeCommit message (Collapse)Author
2025-08-30update tools and other miscellaneous things to new APIsAndrew Kelley
2025-08-11std.ArrayList: make unmanaged the defaultAndrew Kelley
2025-07-16tools: fix some bitrotAlex Rønne Petersen
2025-02-10std.ArrayList: popOrNull() -> pop() [v2] (#22720)Meghan Denny
2024-05-03Rename Dir.writeFile2 -> Dir.writeFile and update all callsitesRyan Liptak
writeFile was deprecated in favor of writeFile2 in f645022d16361865e24582d28f1e62312fbc73bb. This commit renames writeFile2 to writeFile and makes writeFile2 a compile error.
2023-11-22Revert "Merge pull request #12060 from Vexu/IterableDir"Andrew Kelley
This reverts commit da94227f783ec3c92859c4713b80a668f1183f96, reversing changes made to 8f943b3d33432a26b7e242c1181e4220ed400501. I was against this change originally, but decided to approve it to keep an open mind. After a year of trying it in practice, I firmly believe that the previous way of doing it was better.
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-15update-linux-headers: add loongarch and xtensaAndrew Kelley
These operating systems are newly supported by Zig since the last linux-headers update.
2023-05-25std.fs.file: Rename File.Kind enum values to snake caseLinus Groh
2023-05-23std.sort: add pdqsort and heapsortAli Chraghi
2022-07-15std.fs: split `Dir` into `IterableDir`Veikka Tuominen
Also adds safety check for attempting to iterate directory not opened with `iterate = true`.
2022-06-06tools: fix update-linux-headers.zig and process_headers.zigBratishkaErik
Signed-off-by: BratishkaErik <bratishkaerik@getgoogleoff.me>
2022-01-26[linux headers] rename arm64 to aarch64Motiejus Jakštys
Zig calls it aarch64. Linux calls it arm64. Currently lib/libc/include has both arm64 and aarch64, which is quite confusing. tools/update-linux-headers.zig was executed against the latest stable linux patch version, therefore some other minor header updates. I will update the wiki on how to do it once this PR is accepted.
2021-11-30allocgate: change resize to return optional instead of errorLee Cannon
2021-11-30remove linux header files that have case conflictsAndrew Kelley
similar commit from the past: c73cd05468fba4bba5762a654aacdd9d90ecd272 This also modifies tools/update-linux-headers.zig to remove these same files for next time to prevent a regression. closes #10249
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
See #3811
2021-11-29update libc linux headers to v5.16-rc3Andrew Kelley
* Add missing Linux headers. Closes #9837 * Update existing headers to latest Linux. * Consolidate headers that are the same for multiple Zig target CPU architectures. For example, Linux has only an x86 directory for both x86_64 and x86 CPU architectures. Now Zig only ships an x86 directory for Linux headers, and will emit the proper corresponding -isystem flags. * tools/update-linux-headers.zig is now available for upgrading to newer Linux headers, and the update process is now documented on the wiki.