Remove debugging

parent 4384a16d
......@@ -575,7 +575,6 @@ version = "0.5.0"
dependencies = [
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
"managed 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
......
......@@ -24,12 +24,13 @@ dns-parser = "0.7.1"
[dependencies.log]
version = "0.3"
default-features = false
features = []
features = ["release_max_level_warn"]
[dependencies.smoltcp]
path = "smoltcp"
default-features = false
features = ["log", "verbose", "std", "socket-raw", "proto-ipv4", "socket-udp", "socket-tcp", "socket-icmp"]
features = ["std", "socket-raw", "proto-ipv4", "socket-udp", "socket-tcp", "socket-icmp"]
#For debugging: "log", "verbose"
[profile.release]
lto = true
......@@ -492,7 +492,6 @@ where
}
fn write(&mut self, fd: usize, buf: &[u8]) -> SyscallResult<Option<usize>> {
println!("write({}, {:p}, {})", fd, buf.as_ptr(), buf.len());
let (fd, setting) = {
let file = self.files
.get_mut(&fd)
......@@ -513,7 +512,6 @@ where
}
fn read(&mut self, fd: usize, buf: &mut [u8]) -> SyscallResult<Option<usize>> {
println!("read({}, {:p}, {})", fd, buf.as_ptr(), buf.len());
let (fd, setting) = {
let file = self.files
.get_mut(&fd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment