gecko-dev/media/mp4parse-rust/mp4parse-cargo.patch
Matthew Gregan c34ad7d35b Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 6e8cf15241b0282406322cce29220a677edd1585
2018-05-10 12:11:51 +12:00

24 lines
635 B
Diff

diff --git a/media/mp4parse-rust/mp4parse_capi/Cargo.toml b/media/mp4parse-rust/mp4parse_capi/Cargo.toml
index f04ad37ac568..a04b1e977735 100644
--- a/media/mp4parse-rust/mp4parse_capi/Cargo.toml
+++ b/media/mp4parse-rust/mp4parse_capi/Cargo.toml
@@ -18,6 +18,8 @@ exclude = [
"*.mp4",
]
+build = false
+
[badges]
travis-ci = { repository = "https://github.com/mozilla/mp4parse-rust" }
@@ -30,9 +32,6 @@ num-traits = "0.2.0"
[dev-dependencies]
env_logger = "0.5.3"
-[build-dependencies]
-cbindgen = "0.5.2"
-
[features]
fuzz = ["mp4parse/fuzz"]
# Enable mp4parse_fallible to use fallible memory allocation rather than