diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-04-24 15:02:12 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-04-24 15:02:12 +0300 |
commit | 36f032ef15397f383c49b0e656bb36cd43492a1b (patch) | |
tree | 040ae41a6ddf6ea6151ba0e558ed9047ea565b20 /video | |
parent | 2019cdb8cb797f3b86c730064748b203654055ad (diff) |
Configure crate-type to cdylib/rlib consistently in Cargo.toml
And not in the source code, it's a build decision.
Diffstat (limited to 'video')
-rw-r--r-- | video/cdg/src/lib.rs | 2 | ||||
-rw-r--r-- | video/closedcaption/src/lib.rs | 1 | ||||
-rw-r--r-- | video/dav1d/src/lib.rs | 2 | ||||
-rw-r--r-- | video/flavors/Cargo.toml | 2 | ||||
-rw-r--r-- | video/flavors/src/lib.rs | 2 | ||||
-rw-r--r-- | video/rav1e/src/lib.rs | 2 |
6 files changed, 1 insertions, 10 deletions
diff --git a/video/cdg/src/lib.rs b/video/cdg/src/lib.rs index 85ee04d59..ea547175c 100644 --- a/video/cdg/src/lib.rs +++ b/video/cdg/src/lib.rs @@ -6,8 +6,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_type = "cdylib"] - #[macro_use] extern crate glib; #[macro_use] diff --git a/video/closedcaption/src/lib.rs b/video/closedcaption/src/lib.rs index fa77b0c16..7e7ea4b6b 100644 --- a/video/closedcaption/src/lib.rs +++ b/video/closedcaption/src/lib.rs @@ -15,7 +15,6 @@ // Free Software Foundation, Inc., 51 Franklin Street, Suite 500, // Boston, MA 02110-1335, USA. -#![crate_type = "cdylib"] #![recursion_limit = "128"] // These macros are in weird paths currently, diff --git a/video/dav1d/src/lib.rs b/video/dav1d/src/lib.rs index a12b195ff..2567134b7 100644 --- a/video/dav1d/src/lib.rs +++ b/video/dav1d/src/lib.rs @@ -6,8 +6,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_type = "cdylib"] - #[macro_use] extern crate glib; #[macro_use] diff --git a/video/flavors/Cargo.toml b/video/flavors/Cargo.toml index 82dc9b733..805ee3161 100644 --- a/video/flavors/Cargo.toml +++ b/video/flavors/Cargo.toml @@ -22,7 +22,7 @@ smallvec = "1.0" [lib] name = "gstrsflv" -crate-type = ["cdylib"] +crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [build-dependencies] diff --git a/video/flavors/src/lib.rs b/video/flavors/src/lib.rs index 7cab1829b..479716ed4 100644 --- a/video/flavors/src/lib.rs +++ b/video/flavors/src/lib.rs @@ -6,8 +6,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_type = "cdylib"] - #[macro_use] extern crate glib; #[macro_use] diff --git a/video/rav1e/src/lib.rs b/video/rav1e/src/lib.rs index d94266488..452ee2f2c 100644 --- a/video/rav1e/src/lib.rs +++ b/video/rav1e/src/lib.rs @@ -6,8 +6,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_type = "cdylib"] - #[macro_use] extern crate glib; #[macro_use] |