gentoo-ebuilds/dev-lang/zig/files/zig-0.14.1-skip-test-heap_sort.patch
Eric Joldasov 1a0597224c
dev-lang/zig: add 0.14.1
Also removed old notice about standard library documentation and
restructuted filter logic for test step arguments.

Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
Part-of: https://github.com/gentoo/gentoo/pull/42374
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-31 22:09:07 +01:00

20 lines
628 B
Diff

From: Eric Joldasov <bratishkaerik@landless-city.net>
Skip heap sort test in std.sort due to test failure on native target.
The failure is specific to 0.14 branch and does not reproduce on master.
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
diff --git a/lib/std/sort.zig b/lib/std/sort.zig
index 8705d24017..984f14c905 100644
--- a/lib/std/sort.zig
+++ b/lib/std/sort.zig
@@ -155,7 +155,7 @@ const sort_funcs = &[_]fn (comptime type, anytype, anytype, comptime anytype) vo
block,
pdq,
insertion,
- heap,
+ // heap,
};
const context_sort_funcs = &[_]fn (usize, usize, anytype) void{