add license header to all std lib files

add SPDX license identifier
copyright ownership is zig contributors
This commit is contained in:
Andrew Kelley
2020-08-19 19:40:15 -07:00
parent 83b0e52079
commit 4a69b11e74
487 changed files with 2433 additions and 3 deletions

View File

@@ -282,10 +282,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
\\source.zig:10:8: [address] in main (test)
\\ foo();
\\ ^
\\start.zig:249:29: [address] in std.start.posixCallMainAndExit (test)
\\start.zig:254:29: [address] in std.start.posixCallMainAndExit (test)
\\ return root.main();
\\ ^
\\start.zig:123:5: [address] in std.start._start (test)
\\start.zig:128:5: [address] in std.start._start (test)
\\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
\\ ^
\\
@@ -294,7 +294,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
switch (std.Target.current.cpu.arch) {
.aarch64 => "", // TODO disabled; results in segfault
else =>
\\start.zig:123:5: [address] in std.start._start (test)
\\start.zig:128:5: [address] in std.start._start (test)
\\ @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
\\ ^
\\