Skip to content

Commit

Permalink
Rollup merge of #114171 - fortanix:raoul/fix_switch-stdout_test, r=wo…
Browse files Browse the repository at this point in the history
…rkingjubilee

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.
  • Loading branch information
matthiaskrgr authored Jul 29, 2023
2 parents 4e525c1 + 9454916 commit 5df97c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/tests/switch-stdout.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down

0 comments on commit 5df97c6

Please sign in to comment.