Skip to content

Commit 2babc9e

Browse files
committed
update zig sources to 0.15.0-dev.718+826e1c30b
1 parent 1e614da commit 2babc9e

File tree

383 files changed

+58087
-12765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+58087
-12765
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ to find and inspect the patch diffs.
1111
* LLVM, LLD, Clang 20.1.2
1212
* zlib 1.3.1
1313
* zstd 1.5.2
14-
* zig 0.15.0-dev.622+55848363f
14+
* zig 0.15.0-dev.718+826e1c30b
1515

1616
For other versions, check the git tags of this repository.
1717

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TARGET="$1" # Example: riscv64-linux-gnu
77
MCPU="$2" # Examples: `baseline`, `native`, `generic+v7a`, or `arm1176jzf_s`
88

99
ROOTDIR="$(pwd)"
10-
ZIG_VERSION="0.15.0-dev.622+55848363f"
10+
ZIG_VERSION="0.15.0-dev.718+826e1c30b"
1111

1212
TARGET_OS_AND_ABI=${TARGET#*-} # Example: linux-gnu
1313

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if "%VSCMD_ARG_HOST_ARCH%"=="x86" set OUTDIR=out-win-x86
3636

3737
set ROOTDIR=%~dp0
3838
set "ROOTDIR_CMAKE=%ROOTDIR:\=/%"
39-
set ZIG_VERSION="0.15.0-dev.622+55848363f"
39+
set ZIG_VERSION="0.15.0-dev.718+826e1c30b"
4040
set JOBS_ARG=
4141

4242
pushd %ROOTDIR%

zig/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ set(ZIG_STAGE2_SOURCES
205205
lib/compiler_rt/addo.zig
206206
lib/compiler_rt/addsf3.zig
207207
lib/compiler_rt/addtf3.zig
208+
lib/compiler_rt/addvsi3.zig
208209
lib/compiler_rt/addxf3.zig
209210
lib/compiler_rt/arm.zig
210211
lib/compiler_rt/atomics.zig
@@ -323,6 +324,7 @@ set(ZIG_STAGE2_SOURCES
323324
lib/compiler_rt/mulo.zig
324325
lib/compiler_rt/mulsf3.zig
325326
lib/compiler_rt/multf3.zig
327+
lib/compiler_rt/mulvsi3.zig
326328
lib/compiler_rt/mulxf3.zig
327329
lib/compiler_rt/negXi2.zig
328330
lib/compiler_rt/negdf2.zig
@@ -346,6 +348,8 @@ set(ZIG_STAGE2_SOURCES
346348
lib/compiler_rt/subo.zig
347349
lib/compiler_rt/subsf3.zig
348350
lib/compiler_rt/subtf3.zig
351+
lib/compiler_rt/subvdi3.zig
352+
lib/compiler_rt/subvsi3.zig
349353
lib/compiler_rt/subxf3.zig
350354
lib/compiler_rt/tan.zig
351355
lib/compiler_rt/trig.zig
@@ -512,13 +516,15 @@ set(ZIG_STAGE2_SOURCES
512516
lib/std/zig/llvm/bitcode_writer.zig
513517
lib/std/zig/llvm/ir.zig
514518
src/Air.zig
519+
src/Air/Legalize.zig
520+
src/Air/Liveness.zig
521+
src/Air/Liveness/Verify.zig
522+
src/Air/types_resolved.zig
515523
src/Builtin.zig
516524
src/Compilation.zig
517525
src/Compilation/Config.zig
518526
src/DarwinPosixSpawn.zig
519527
src/InternPool.zig
520-
src/Liveness.zig
521-
src/Liveness/Verify.zig
522528
src/Package.zig
523529
src/Package/Fetch.zig
524530
src/Package/Fetch/git.zig
@@ -995,10 +1001,6 @@ if(NOT "${ZIG_TARGET_DYNAMIC_LINKER}" STREQUAL "")
9951001
list(APPEND ZIG_BUILD_ARGS "-Ddynamic-linker=${ZIG_TARGET_DYNAMIC_LINKER}")
9961002
endif()
9971003

998-
if(MINGW AND "${ZIG_HOST_TARGET_ARCH}" STREQUAL "x86")
999-
list(APPEND ZIG_BUILD_ARGS --maxrss 7000000000)
1000-
endif()
1001-
10021004

10031005
add_custom_target(stage3 ALL
10041006
DEPENDS "${PROJECT_BINARY_DIR}/stage3/bin/zig"

zig/bootstrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
123123
if (f == NULL)
124124
panic("unable to open config.zig for writing");
125125

126-
const char *zig_version = "0.15.0-dev.622+55848363f";
126+
const char *zig_version = "0.15.0-dev.718+826e1c30b";
127127

128128
int written = fprintf(f,
129129
"pub const have_llvm = false;\n"

zig/build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ pub fn build(b: *std.Build) !void {
437437
.skip_non_native = skip_non_native,
438438
.skip_libc = skip_libc,
439439
.use_llvm = use_llvm,
440-
// 2262585344 was observed on an x86_64-linux-gnu host.
441-
.max_rss = 2488843878,
440+
// 2520100864 was observed on an x86_64-linux-gnu host.
441+
.max_rss = 2772110950,
442442
}));
443443

444444
test_modules_step.dependOn(tests.addModuleTests(b, .{

zig/doc/langref.html.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
<a href="https://ziglang.org/documentation/0.11.0/">0.11.0</a> |
317317
<a href="https://ziglang.org/documentation/0.12.0/">0.12.0</a> |
318318
<a href="https://ziglang.org/documentation/0.13.0/">0.13.0</a> |
319-
<a href="https://ziglang.org/documentation/0.14.0/">0.14.0</a> |
319+
<a href="https://ziglang.org/documentation/0.14.1/">0.14.1</a> |
320320
master
321321
</nav>
322322
<nav aria-labelledby="table-of-contents">

zig/doc/langref/test_functions.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export fn sub(a: i8, b: i8) i8 {
2323
// dynamically. The quoted identifier after the extern keyword specifies
2424
// the library that has the function. (e.g. "c" -> libc.so)
2525
// The callconv specifier changes the calling convention of the function.
26-
const WINAPI: std.builtin.CallingConvention = if (native_arch == .x86) .Stdcall else .C;
27-
extern "kernel32" fn ExitProcess(exit_code: u32) callconv(WINAPI) noreturn;
26+
extern "kernel32" fn ExitProcess(exit_code: u32) callconv(.winapi) noreturn;
2827
extern "c" fn atan2(a: f64, b: f64) f64;
2928

3029
// The @branchHint builtin can be used to tell the optimizer that a function is rarely called ("cold").

zig/doc/langref/test_intCast_builtin.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ test "integer cast panic" {
55
_ = b;
66
}
77

8-
// test_error=cast truncated bits
8+
// test_error=integer does not fit in destination type

zig/lib/compiler/aro_translate_c.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ pub const PatternList = struct {
12061206
/// Assumes that `ms` represents a tokenized function-like macro.
12071207
fn buildArgsHash(allocator: mem.Allocator, ms: MacroSlicer, hash: *ArgsPositionMap) MacroProcessingError!void {
12081208
assert(ms.tokens.len > 2);
1209-
assert(ms.tokens[0].id == .identifier or ms.tokens[0].id == .extended_identifier);
1209+
assert(ms.tokens[0].id.isMacroIdentifier());
12101210
assert(ms.tokens[1].id == .l_paren);
12111211

12121212
var i: usize = 2;

0 commit comments

Comments
 (0)