Bug 1496144 - Enable std feature for object crate. r=mstange
authorMatt Brubeck <mbrubeck@mozilla.com>
Wed, 03 Oct 2018 19:48:56 +0000
changeset 495199 275985ae0d13f0e9f7062e58b74a2953ff4738bd
parent 495198 d7057bcc6e824a5cbdc5053c419874a9700af8ef
child 495200 d9907249aaf26c729716dbc2f3b1ab08acb35a36
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1496144
milestone64.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 1496144 - Enable std feature for object crate. r=mstange Differential Revision: https://phabricator.services.mozilla.com/D7646
tools/profiler/rust-helper/Cargo.toml
--- a/tools/profiler/rust-helper/Cargo.toml
+++ b/tools/profiler/rust-helper/Cargo.toml
@@ -1,15 +1,20 @@
 [package]
 name = "profiler_helper"
 version = "0.1.0"
 authors = ["Markus Stange <mstange@themasta.com>"]
 
 [dependencies]
 memmap = "0.6.2"
-object = { version = "0.10.0", optional = true, default-features = false }
+
+[dependencies.object]
+version = "0.10.0"
+optional = true
+default-features = false
+features = ["std"]
 
 [dependencies.thin-vec]
 version = "0.1.0"
 features = ["gecko-ffi"]
 
 [features]
 parse_elf = ["object"]