diff options
| author | Raoul Strackx <raoul.strackx@fortanix.com> | 2023-07-28 13:53:28 +0200 | 
|---|---|---|
| committer | Raoul Strackx <raoul.strackx@fortanix.com> | 2023-07-28 13:54:07 +0200 | 
| commit | 9454916c84301a2f0a6de98e6ad5374a366dab75 (patch) | |
| tree | 140fc49f5f4b6bb39594610ff16f9a1a91cb2359 /library/std/tests/switch-stdout.rs | |
| parent | aafd75a9c510b0e91746b891eb4ebade43899af5 (diff) | |
| download | rust-9454916c84301a2f0a6de98e6ad5374a366dab75.tar.gz rust-9454916c84301a2f0a6de98e6ad5374a366dab75.zip | |
Fix switch-stdout test for none unix/windows platforms
Diffstat (limited to 'library/std/tests/switch-stdout.rs')
| -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}; | 
