all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 971ae53912108e4442283b7f2a97420728809fd0 1320 bytes (raw)
name: gnu/packages/patches/zig-disable-libc-note-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
This test fails with "error.CompilationIncorrectlySucceeded".

diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index fd1255c..20d5548 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -2751,15 +2751,15 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
             "tmp.zig:3:5: error: dependency on libc must be explicitly specified in the build command",
         });
 
-        cases.addTest("libc headers note",
-            \\const c = @cImport(@cInclude("stdio.h"));
-            \\export fn entry() void {
-            \\    _ = c.printf("hello, world!\n");
-            \\}
-        , &[_][]const u8{
-            "tmp.zig:1:11: error: C import failed",
-            "tmp.zig:1:11: note: libc headers not available; compilation does not link against libc",
-        });
+//        cases.addTest("libc headers note",
+//            \\const c = @cImport(@cInclude("stdio.h"));
+//            \\export fn entry() void {
+//            \\    _ = c.printf("hello, world!\n");
+//            \\}
+//        , &[_][]const u8{
+//            "tmp.zig:1:11: error: C import failed",
+//            "tmp.zig:1:11: note: libc headers not available; compilation does not link against libc",
+//        });
     }
 
     cases.addTest("comptime vector overflow shows the index",

debug log:

solving 971ae53912 ...
found 971ae53912 in https://yhetil.org/guix/865yv6mmk2.fsf@mgsn.dev/ ||
	https://yhetil.org/guix/5ab728b993bf511df7d71cb6781fc10c58aaff6d.camel@gmail.com/ ||
	https://yhetil.org/guix/7b114e500e29364f44b0080e0f782255e92be74f.camel@gmail.com/

applying [1/1] https://yhetil.org/guix/865yv6mmk2.fsf@mgsn.dev/
diff --git a/gnu/packages/patches/zig-disable-libc-note-test.patch b/gnu/packages/patches/zig-disable-libc-note-test.patch
new file mode 100644
index 0000000000..971ae53912

1:16: trailing whitespace.
 
1:36: trailing whitespace.
 
Checking patch gnu/packages/patches/zig-disable-libc-note-test.patch...
Applied patch gnu/packages/patches/zig-disable-libc-note-test.patch cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/guix/5ab728b993bf511df7d71cb6781fc10c58aaff6d.camel@gmail.com/ for 971ae53912
skipping https://yhetil.org/guix/7b114e500e29364f44b0080e0f782255e92be74f.camel@gmail.com/ for 971ae53912
index at:
100644 971ae53912108e4442283b7f2a97420728809fd0	gnu/packages/patches/zig-disable-libc-note-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.