summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzy <[email protected]>2023-09-12 07:56:09 +0000
committerzy <[email protected]>2023-09-12 07:56:09 +0000
commitd3a204ecc9ce1328010738d3288a83d305ad3d93 (patch)
treee062b0551fead2921eeadce947e88e357d19aab2
parent8216342cd730cf64c9e1b68295df32003cb8d9e8 (diff)
从 系统 获取 libtimeout.so
-rw-r--r--Cargo.toml4
-rw-r--r--build.rs7
2 files changed, 0 insertions, 11 deletions
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);
-}