-
Notifications
You must be signed in to change notification settings - Fork 66
/
Cargo.toml
42 lines (36 loc) · 1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
edition = "2021"
name = "wasmtime-c-api-bazel"
version = "9.0.3"
rust-version = "1.66.0"
[lib]
path = "fake_lib.rs"
[dependencies]
env_logger = "0.10"
anyhow = "1.0"
once_cell = "1.12"
wasmtime = {version = "9.0.3", default-features = false, features = ['cranelift']}
wasmtime-c-api-macros = {git = "https://github.com/bytecodealliance/wasmtime", tag = "v9.0.3"}
[package.metadata.raze]
rust_rules_workspace_name = "rules_rust"
gen_workspace_prefix = "wasmtime"
genmode = "Remote"
package_aliases_dir = "."
workspace_path = "//bazel/cargo/wasmtime"
[package.metadata.raze.crates.cranelift-isle.'*']
patches = [
"@proxy_wasm_cpp_host//bazel/cargo/wasmtime:cranelift-isle.patch",
]
patch_args = ["-p4"]
[package.metadata.raze.crates.bumpalo.'*']
patches = [
"@proxy_wasm_cpp_host//bazel/cargo/wasmtime:bumpalo.patch",
]
patch_args = ["-p1"]
[package.metadata.raze.crates.rustix.'*']
additional_flags = [
"--cfg=feature=\\\"cc\\\"",
]
buildrs_additional_deps = [
"@wasmtime__cc__1_0_79//:cc",
]