diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-29 06:13:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-29 06:13:06 +0200 |
| commit | 5df97c6bb9a6070a39feff128520293ba6bddbd0 (patch) | |
| tree | 35eccca3f17828e634e805eab751efd99cfd8853 | |
| parent | 4e525c1a9a4e2e6e62b015a74578af59346357ae (diff) | |
| parent | 9454916c84301a2f0a6de98e6ad5374a366dab75 (diff) | |
| download | rust-5df97c6bb9a6070a39feff128520293ba6bddbd0.tar.gz rust-5df97c6bb9a6070a39feff128520293ba6bddbd0.zip | |
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.
| -rw-r--r-- | library/std/tests/switch-stdout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/tests/switch-stdout.rs b/library/std/tests/switch-stdout.rs index 28ce6dfccd3..2605664d289 100644 --- a/library/std/tests/switch-stdout.rs +++ b/library/std/tests/switch-stdout.rs @@ -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}; |
