unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob b2c57cb571aadbcf89be7a54fe7f94aa2e072bb0 1267 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
 
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index b1eaa0302..621f9db0a 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -2943,15 +2943,15 @@ pub fn addCases(ctx: *TestContext) !void {
             "tmp.zig:3:5: error: dependency on libc must be explicitly specified in the build command",
         });
 
-        ctx.testErrStage1("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",
-        });
+        // ctx.testErrStage1("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",
+        // });
     }
 
     ctx.testErrStage1("comptime vector overflow shows the index",

debug log:

solving b2c57cb571 ...
found b2c57cb571 in https://yhetil.org/guix-patches/20220119081125.2487-1-calumirwin1@gmail.com/
found 4d76139efb in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 4d76139efbe832ca3fa691e45aa7d8d928e8f94b	gnu/packages/patches/zig-disable-libc-note-test.patch

applying [1/1] https://yhetil.org/guix-patches/20220119081125.2487-1-calumirwin1@gmail.com/
diff --git a/gnu/packages/patches/zig-disable-libc-note-test.patch b/gnu/packages/patches/zig-disable-libc-note-test.patch
index 4d76139efb..b2c57cb571 100644

1:19: trailing whitespace.
 
1:49: 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.

index at:
100644 b2c57cb571aadbcf89be7a54fe7f94aa2e072bb0	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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).