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:
Erik Hollensbe
2021-05-26 00:55:15 -07:00
parent 5bf60f6d1c
commit 2dd5f490c7
3 changed files with 4 additions and 6872 deletions

2
pkg/crate/libzt/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
target
src/libzt.rs

File diff suppressed because it is too large Load Diff

View File

@@ -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