summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nix-test/build.rs2
-rw-r--r--test/sys/test_aio.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/nix-test/build.rs b/nix-test/build.rs
index 0c18e1c8..5d1b1bba 100644
--- a/nix-test/build.rs
+++ b/nix-test/build.rs
@@ -13,7 +13,7 @@ pub fn main() {
"UNKNOWN"
};
- gcc::Config::new()
+ gcc::Build::new()
.file("src/const.c")
.file("src/sizes.c")
.define(os, None)
diff --git a/test/sys/test_aio.rs b/test/sys/test_aio.rs
index c72d4dc7..630dff9a 100644
--- a/test/sys/test_aio.rs
+++ b/test/sys/test_aio.rs
@@ -13,7 +13,7 @@ use std::{thread, time};
use tempfile::tempfile;
// Helper that polls an AioCb for completion or error
-fn poll_aio(mut aiocb: &mut AioCb) -> Result<()> {
+fn poll_aio(aiocb: &mut AioCb) -> Result<()> {
loop {
let err = aiocb.error();
if err != Err(Error::from(Errno::EINPROGRESS)) { return err; };