| ... | ... | @@ -2914,15 +2914,6 @@ fn addOneModuleTest( |
| 2914 | 2914 | const libc_suffix = if (test_target.link_libc == true) "-libc" else ""; |
| 2915 | 2915 | const model_txt = target.cpu.model.name; |
| 2916 | 2916 | |
| 2917 | | // These emulated targets need a lot more RAM for unknown reasons. |
| 2918 | | const max_rss = if (mem.eql(u8, options.name, "std") and |
| 2919 | | (target.cpu.arch == .hexagon or |
| 2920 | | (target.cpu.arch.isRISCV() and !resolved_target.query.isNative()) or |
| 2921 | | target.cpu.arch.isWasm())) |
| 2922 | | options.max_rss * 2 |
| 2923 | | else |
| 2924 | | options.max_rss; |
| 2925 | | |
| 2926 | 2917 | const these_tests = b.addTest(.{ |
| 2927 | 2918 | .root_module = b.createModule(.{ |
| 2928 | 2919 | .root_source_file = b.path(options.root_src), |
| ... | ... | @@ -2934,7 +2925,7 @@ fn addOneModuleTest( |
| 2934 | 2925 | .sanitize_thread = options.sanitize_thread, |
| 2935 | 2926 | .single_threaded = test_target.single_threaded, |
| 2936 | 2927 | }), |
| 2937 | | .max_rss = max_rss, |
| 2928 | .max_rss = options.max_rss, |
| 2938 | 2929 | .filters = options.test_filters, |
| 2939 | 2930 | .use_llvm = test_target.use_llvm, |
| 2940 | 2931 | .use_lld = test_target.use_lld, |