Skip to content

Commit fb1e44a

Browse files
bors[bot]mkroening
andauthored
Merge #154
154: Migrate netbench to Rust 2018 r=stlankes a=mkroening Co-authored-by: Martin Kröning <mkroening@posteo.net>
2 parents d7bd10a + 515602b commit fb1e44a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

benches/netbench/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name = "rust-tcp-io-perf"
44
version = "0.0.0"
55
authors = ["Lorenzo Martini <lmartini@student.ethz.ch>"]
6+
edition = "2018"
67
readme = "README.md"
78

89
description = "A Rust program to measure bandwidth or latency over a Rust TCP connection"

benches/netbench/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extern crate core_affinity;
22

3-
use config::Config;
3+
use crate::config::Config;
44
use std::io;
55
use std::io::ErrorKind::WouldBlock;
66
use std::io::{Read, Write};

benches/netbench/src/threading.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use config::Config;
1+
use crate::config::Config;
22

33
pub fn setup(config: &Config) {
44
if config.p_id >= 0 {

0 commit comments

Comments
 (0)