These are some things I noticed while working in this tree:
- target/ was not in .gitignore - src/libzt.rs is generated, put in .gitignore and deleted - time_t was not defined; libc is a build dep so didn't want to bring it in for a type. Decided to just typedef it. Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
This commit is contained in:
2
pkg/crate/libzt/.gitignore
vendored
Normal file
2
pkg/crate/libzt/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
target
|
||||
src/libzt.rs
|
||||
File diff suppressed because it is too large
Load Diff
@@ -19,6 +19,8 @@ use std::os::raw::c_int;
|
||||
use std::time::Duration;
|
||||
use std::{io, mem};
|
||||
|
||||
type time_t = i64;
|
||||
|
||||
use crate::utils::*;
|
||||
|
||||
// Note: FileDesc and c_int in libc are private so we can't use that. Use i32 instead
|
||||
|
||||
Reference in New Issue
Block a user