From d47f40ddcf8733441b61817a4c6d89675f3b80aa Mon Sep 17 00:00:00 2001 From: lifegpc Date: Fri, 25 Mar 2022 13:48:09 +0800 Subject: [PATCH] revert last commit --- Cargo.toml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6d9a2d4..463cc63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,14 +36,10 @@ cmake = { version = "0.1", optional = true } all = ["exif", "ugoira"] avdict = ["bindgen", "cmake", "flagset"] exif = ["bindgen", "c_fixed_string", "cmake", "link-cplusplus", "int-enum", "utf16string"] -link_cpp = [] ugoira = ["avdict", "bindgen", "cmake", "link-cplusplus"] [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.9", features = ["winnls", "stringapiset"] } -[target.'cfg(all(target_env = "gnu", not(feature = "link_cpp")))'.dependencies] +[target.'cfg(target_env = "gnu")'.dependencies] link-cplusplus = { version = "1.0", features = ["libstdc++"], optional = true } - -[target.'cfg(all(target_env = "gnu", feature = "link_cpp"))'.dependencies] -link-cplusplus = { version = "1.0", features = ["libc++"], optional = true }