| author | |
| committer | |
| log | 62d077cfa1ad5ebbf97ed91a71d5b88f9c313e9d |
| tree | 06c2ffd8015e7846d257261e09f6808f20fee70f |
| parent | 09a57583a4ccce30603ffc8d0e3d7359dc3cb978 |
| signature |
I have observed the standard library tests overflowing the default WASI
stack as of the previous commit. As best as I can tell, this isn't
directly our fault: LLVM is just emitting less efficient code in debug
builds with the new codegen patterns.1 files changed, 5 insertions(+), 0 deletions(-)
test/tests.zig+5| ... | ... | @@ -1034,6 +1034,11 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 1034 | 1034 | |
| 1035 | 1035 | these_tests.addIncludePath(.{ .path = "test" }); |
| 1036 | 1036 | |
| 1037 | if (test_target.target.getOs().tag == .wasi) { | |
| 1038 | // WASI's default stack size can be too small for some big tests. | |
| 1039 | these_tests.stack_size = 2 * 1024 * 1024; | |
| 1040 | } | |
| 1041 | ||
| 1037 | 1042 | const qualified_name = b.fmt("{s}-{s}-{s}{s}{s}{s}", .{ |
| 1038 | 1043 | options.name, |
| 1039 | 1044 | triple_txt, |