mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1572364 - Make jsrust_shared a non-optional dependency of gkrust-shared. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D41163 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
30b01f4f60
commit
ed1e9fd632
@ -9,7 +9,7 @@ name = "jsrust_shared"
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
baldrdash = { path = "../../wasm/cranelift" }
|
||||
baldrdash = { path = "../../wasm/cranelift", optional = true }
|
||||
mozilla-central-workspace-hack = { path = "../../../../build/workspace-hack" }
|
||||
|
||||
[features]
|
||||
|
@ -12,4 +12,5 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#[cfg(feature = "baldrdash")]
|
||||
extern crate baldrdash;
|
||||
|
@ -34,7 +34,7 @@ xulstore = { path = "../../../components/xulstore", optional = true }
|
||||
log = {version = "0.4", features = ["release_max_level_info"]}
|
||||
env_logger = {version = "0.5", default-features = false} # disable `regex` to reduce code size
|
||||
cose-c = { version = "0.1.5" }
|
||||
jsrust_shared = { path = "../../../../js/src/rust/shared", optional = true }
|
||||
jsrust_shared = { path = "../../../../js/src/rust/shared" }
|
||||
arrayvec = "0.4"
|
||||
cert_storage = { path = "../../../../security/manager/ssl/cert_storage", optional = true }
|
||||
bitsdownload = { path = "../../../components/bitsdownload", optional = true }
|
||||
@ -58,7 +58,7 @@ gecko_refcount_logging = ["geckoservo/gecko_refcount_logging"]
|
||||
simd-accel = ["encoding_c/simd-accel", "encoding_glue/simd-accel"]
|
||||
moz_memory = ["mp4parse_capi/mp4parse_fallible"]
|
||||
moz_places = ["bookmark_sync"]
|
||||
spidermonkey_rust = ["jsrust_shared"]
|
||||
spidermonkey_rust = ["jsrust_shared/baldrdash"]
|
||||
cranelift_x86 = ["jsrust_shared/cranelift_x86"]
|
||||
cranelift_arm32 = ["jsrust_shared/cranelift_arm32"]
|
||||
cranelift_arm64 = ["jsrust_shared/cranelift_arm64"]
|
||||
|
@ -39,7 +39,6 @@ extern crate cosec;
|
||||
extern crate rsdparsa_capi;
|
||||
#[cfg(feature = "new_xulstore")]
|
||||
extern crate xulstore;
|
||||
#[cfg(feature = "spidermonkey_rust")]
|
||||
extern crate jsrust_shared;
|
||||
#[cfg(feature = "bitsdownload")]
|
||||
extern crate bitsdownload;
|
||||
|
Loading…
Reference in New Issue
Block a user