mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 13:13:49 +00:00
28ba87e6c8
# Objective
Fixes #1529
Run bevy_ecs in miri
## Solution
- Don't set thread names when running in miri rust-lang/miri/issues/1717
- Update `event-listener` to `2.5.2` as previous versions have UB that is detected by miri: [event-listener commit](1fa31c553e
)
- Ignore memory leaks when running in miri as they are impossible to track down rust-lang/miri/issues/1481
- Make `table_add_remove_many` test less "many" because miri is really quite slow :)
- Make CI run `RUSTFLAGS="-Zrandomize-layout" MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-tag-raw-pointers -Zmiri-disable-isolation" cargo +nightly miri test -p bevy_ecs`
22 lines
546 B
TOML
22 lines
546 B
TOML
[package]
|
|
name = "bevy_tasks"
|
|
version = "0.7.0-dev"
|
|
edition = "2021"
|
|
description = "A task executor for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[dependencies]
|
|
futures-lite = "1.4.0"
|
|
event-listener = "2.5.2"
|
|
async-executor = "1.3.0"
|
|
async-channel = "1.4.2"
|
|
num_cpus = "1.0.1"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
[dev-dependencies]
|
|
instant = { version = "0.1", features = ["wasm-bindgen"] }
|