This updates to rustix 0.35.6, and updates wasi-common to use cap-std 0.25 and windows-sys (instead of winapi). Changes include: - Better error code mappings on Windows. - Fixes undefined references to `utimensat` on Darwin. - Fixes undefined references to `preadv64` and `pwritev64` on Android. - Updates to io-lifetimes 0.7, which matches the io_safety API in Rust. - y2038 bug fixes for 32-bit platforms
36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
[package]
|
|
name = "wasmtime-bench-api"
|
|
version = "0.19.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "Exposes a benchmarking API for the Wasmtime runtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
readme = "README.md"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "wasmtime_bench_api"
|
|
crate-type = ["rlib", "cdylib"]
|
|
# The rlib is only included here so that `cargo test` will run.
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
shuffling-allocator = { version = "1.1.1", optional = true }
|
|
target-lexicon = "0.12"
|
|
wasmtime = { path = "../wasmtime", default-features = true }
|
|
wasmtime-cli-flags = { path = "../cli-flags", default-features = true }
|
|
wasmtime-wasi = { path = "../wasi" }
|
|
wasmtime-wasi-crypto = { path = "../wasi-crypto", optional = true }
|
|
wasmtime-wasi-nn = { path = "../wasi-nn", optional = true }
|
|
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync" }
|
|
cap-std = "0.25.0"
|
|
|
|
[dev-dependencies]
|
|
wat = "1.0"
|
|
|
|
[features]
|
|
default = ["shuffling-allocator"]
|
|
wasi-crypto = ["wasmtime-wasi-crypto"]
|
|
wasi-nn = ["wasmtime-wasi-nn"]
|