aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorFlaise <[email protected]>2019-07-29 09:54:58 -0500
committerMatthew Collins <[email protected]>2019-07-30 10:36:45 +0100
commit5ea817b1ffdb796eb6292b780b58e1a14bf4d873 (patch)
tree00ff40b1fd8c6a658ff77fede21464fefb697bf4 /src/lib.rs
parentUpdated to support SDK version 1.45 on Mac OS (diff)
downloadsteamworks-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/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 442e865..d9baa2f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -413,7 +413,10 @@ impl GameId {
#[cfg(test)]
mod tests {
use super::*;
+ use serial_test_derive::serial;
+
#[test]
+ #[serial]
fn basic_test() {
let (client, single) = Client::init().unwrap();