Bug 1525227 - Remove unnecessary dependency on bindgen in js/src/rust/shared/Cargo.toml. r=mshal
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 06 Feb 2019 10:39:07 +0000
changeset 457400 eb8bd7163c2bb5759105269ee3e84ee310651127
parent 457399 3f44053a70e0496e82a15841a7c3f28f2d1a619b
child 457401 e0ea8e062d9f21f50522a267ce0c797e6c449896
push id35508
push usershindli@mozilla.com
push dateWed, 06 Feb 2019 16:36:18 +0000
treeherdermozilla-central@af024e4ee302 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1525227
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1525227 - Remove unnecessary dependency on bindgen in js/src/rust/shared/Cargo.toml. r=mshal The crate doesn't even have a build script. Differential Revision: https://phabricator.services.mozilla.com/D18657
Cargo.lock
js/src/rust/shared/Cargo.toml
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1302,17 +1302,16 @@ dependencies = [
  "mozilla-central-workspace-hack 0.1.0",
 ]
 
 [[package]]
 name = "jsrust_shared"
 version = "0.1.0"
 dependencies = [
  "baldrdash 0.1.0",
- "bindgen 0.43.0 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
 
 [[package]]
 name = "kernel32-sys"
 version = "0.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
--- a/js/src/rust/shared/Cargo.toml
+++ b/js/src/rust/shared/Cargo.toml
@@ -6,14 +6,11 @@ authors = ["The Spidermonkey developers"
 [lib]
 crate-type = ["rlib"]
 name = "jsrust_shared"
 path = "lib.rs"
 
 [dependencies]
 baldrdash = { path = "../../wasm/cranelift" }
 
-[build-dependencies]
-bindgen = {version = "0.43", default-features = false} # disable `logging` to reduce code size
-
 # Uncomment this to enable perf support in release mode.
 #[profile.release]
 #debug = true