diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-23 19:01:47 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-01-24 09:25:34 +0000 |
| commit | d0a70d93282adb3d3a0adb9b17ead93b35639c46 (patch) | |
| tree | 99b938e7b936e0a9c7b1ef074b80ccd9930c4a3e /library/std/tests/pipe_subprocess.rs | |
| parent | 48ef38d3503a04e5e18157e664e3e65dc7eca1a5 (diff) | |
| download | rust-d0a70d93282adb3d3a0adb9b17ead93b35639c46.tar.gz rust-d0a70d93282adb3d3a0adb9b17ead93b35639c46.zip | |
Fix testing of the standard library with Emscripten
This does need EMCC_CFLAGS="-s MAXIMUM_MEMORY=2GB" avoid several OOMs.
Diffstat (limited to 'library/std/tests/pipe_subprocess.rs')
| -rw-r--r-- | library/std/tests/pipe_subprocess.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/pipe_subprocess.rs b/library/std/tests/pipe_subprocess.rs index df946cdcf2b..00d99a578d5 100644 --- a/library/std/tests/pipe_subprocess.rs +++ b/library/std/tests/pipe_subprocess.rs @@ -1,7 +1,7 @@ #![feature(anonymous_pipe)] fn main() { - #[cfg(all(not(miri), any(unix, windows)))] + #[cfg(all(not(miri), any(unix, windows), not(target_os = "emscripten")))] { use std::io::{Read, pipe}; use std::{env, process}; |
