diff --git a/Cargo.lock b/Cargo.lock index b6431f5..e8e3984 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -148,7 +148,7 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "make-sys" -version = "0.1.0" +version = "0.1.1" dependencies = [ "bindgen", "glob", diff --git a/Cargo.toml b/Cargo.toml index f5e5844..350a19c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "make-sys" -version = "0.1.0" +version = "0.1.1" edition = "2021" build = "build.rs" repository = "https://github.com/oknotokcomputer/make-sys" diff --git a/README.md b/README.md index 76c42a2..9ca4eca 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,5 @@ ## Installation -Currently installation assumes a debian base system, see [build.rs](build.rs) for details. +Currently installation assumes a debian base system, see [build.rs](build.rs#L28) for details. diff --git a/src/lib.rs b/src/lib.rs index d1fecf6..95df5a6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,10 +4,9 @@ use std::ffi; -mod make_sys { - include!(concat!(env!("OUT_DIR"), "/make/src/bindings.rs")); -} -struct Floc(make_sys::floc); +include!(concat!(env!("OUT_DIR"), "/make/src/bindings.rs")); + +struct Floc(floc); #[cfg(test)] mod tests { @@ -15,7 +14,7 @@ mod tests { #[test] fn test_make() { - let mut floc = Floc(make_sys::floc { + let mut floc = Floc(floc { lineno: 0, filenm: std::ptr::null_mut(), offset: 0,