From d3a204ecc9ce1328010738d3288a83d305ad3d93 Mon Sep 17 00:00:00 2001 From: zy Date: Tue, 12 Sep 2023 07:56:09 +0000 Subject: 从 系统 获取 libtimeout.so MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 4 ---- build.rs | 7 ------- 2 files changed, 11 deletions(-) delete mode 100644 build.rs diff --git a/Cargo.toml b/Cargo.toml index 6d32d4b..baca83f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,10 +2,6 @@ name = "rs-timeout" version = "0.1.0" edition = "2021" -# build = "build.rs" - -[build] -rustflags = ["-L", "./"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/build.rs b/build.rs deleted file mode 100644 index 2a90d96..0000000 --- a/build.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn main() { - let path = "./"; - let lib = "timeout"; - - println!("cargo:rustc-link-search=all={}", path); - println!("cargo:rustc-link-lib=dylib={}", lib); -} -- cgit v1.2.3