summaryrefslogtreecommitdiffstats
path: root/js/src/rust/Cargo.toml
blob: 659967daf828f7601204d957bbe0a8c85a81ee3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[package]
name = "jsrust"
version = "0.1.0"
authors = ["The Spidermonkey developers"]

[lib]
name = "jsrust"
crate-type = ["staticlib"]
path = "lib.rs"

[features]
cranelift_x86 = ['jsrust_shared/cranelift_x86']
cranelift_arm32 = ['jsrust_shared/cranelift_arm32']
cranelift_arm64 = ['jsrust_shared/cranelift_arm64']
cranelift_none = ['jsrust_shared/cranelift_none']
simd-accel = ['jsrust_shared/simd-accel']
smoosh = ['jsrust_shared/smoosh']

[dependencies]
jsrust_shared = { path = "./shared" }
# Workaround for https://github.com/rust-lang/rust/issues/58393
mozglue-static = { path = "../../../mozglue/static/rust" }
wat = { version = "1.0.33" }
wasmparser = { version = "0.48.2" }