diff options
| author | Flaise <[email protected]> | 2019-07-29 09:54:58 -0500 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2019-07-30 10:36:45 +0100 |
| commit | 5ea817b1ffdb796eb6292b780b58e1a14bf4d873 (patch) | |
| tree | 00ff40b1fd8c6a658ff77fede21464fefb697bf4 /src/remote_storage.rs | |
| parent | Updated to support SDK version 1.45 on Mac OS (diff) | |
| download | steamworks-rs-5ea817b1ffdb796eb6292b780b58e1a14bf4d873.tar.xz steamworks-rs-5ea817b1ffdb796eb6292b780b58e1a14bf4d873.zip | |
Fix for thread contention causing errors on Mac OS and segfaults on Windows
Diffstat (limited to 'src/remote_storage.rs')
| -rw-r--r-- | src/remote_storage.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/remote_storage.rs b/src/remote_storage.rs index 17357e7..386f70d 100644 --- a/src/remote_storage.rs +++ b/src/remote_storage.rs @@ -1,4 +1,6 @@ use super::*; +#[cfg(test)] +use serial_test_derive::serial; /// Access to the steam remote storage interface pub struct RemoteStorage<Manager> { @@ -257,6 +259,7 @@ pub struct SteamFileInfo { } #[test] +#[serial] fn test_cloud() { use std::io::{Write, Read}; let (client, _single) = Client::init().unwrap(); @@ -285,4 +288,4 @@ fn test_cloud() { assert_eq!(output, "Testing"); -}
\ No newline at end of file +} |