Rollup merge of #114171 - fortanix:raoul/fix_switch-stdout_test, r=workingjubilee

Fix switch-stdout test for none unix/windows platforms

PR #112390 moved tests to std. Unfortunately, there is a typo which causes issues on platforms other than unix and windows.
This commit is contained in:
Matthias Krüger 2023-07-29 06:13:06 +02:00 committed by GitHub
commit 5df97c6bb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
#[cfg(any(target_family = "unix", target_family = "windows"))]
#![cfg(any(target_family = "unix", target_family = "windows"))]
use std::fs::File;
use std::io::{Read, Write};