mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-riscv-tests"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
critical-section = { version = "1.1.1", features = ["restore-state-bool"] }
|
|
embassy-sync = { version = "0.6.0", path = "../../embassy-sync" }
|
|
embassy-executor = { version = "0.6.1", path = "../../embassy-executor", features = ["arch-riscv32", "executor-thread"] }
|
|
embassy-time = { version = "0.3.2", path = "../../embassy-time" }
|
|
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
|
|
|
riscv-rt = "0.12.2"
|
|
riscv = { version = "0.11.1", features = ["critical-section-single-hart"] }
|
|
|
|
|
|
[profile.dev]
|
|
debug = 2
|
|
debug-assertions = true
|
|
opt-level = 's'
|
|
overflow-checks = true
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = "fat"
|
|
opt-level = 's'
|
|
overflow-checks = false
|
|
|
|
# do not optimize proc-macro crates = faster builds from scratch
|
|
[profile.dev.build-override]
|
|
codegen-units = 8
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|
|
|
|
[profile.release.build-override]
|
|
codegen-units = 8
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|