diff options
| author | zy <[email protected]> | 2023-09-12 07:56:09 +0000 |
|---|---|---|
| committer | zy <[email protected]> | 2023-09-12 07:56:09 +0000 |
| commit | d3a204ecc9ce1328010738d3288a83d305ad3d93 (patch) | |
| tree | e062b0551fead2921eeadce947e88e357d19aab2 | |
| parent | 8216342cd730cf64c9e1b68295df32003cb8d9e8 (diff) | |
从 系统 获取 libtimeout.so
| -rw-r--r-- | Cargo.toml | 4 | ||||
| -rw-r--r-- | build.rs | 7 |
2 files changed, 0 insertions, 11 deletions
@@ -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); -} |
