Add no_std test example and update alloc gating

Update codegen to make `bytes` imports conditional on the `alloc`
feature and add a test example for the `thumbv7em-none-eabihf`
target.
This commit is contained in:
2026-05-18 08:43:22 -07:00
parent fa4d8cca83
commit 6910f11d69
9 changed files with 770 additions and 25 deletions
+5
View File
@@ -5,6 +5,11 @@ edition = "2024"
[dependencies]
roto-runtime = { path = "../../runtime", default-features = false }
embedded-alloc = { version = "0.5", optional = true }
bytes = { version = "1.7", default-features = false }
[features]
alloc = ["roto-runtime/alloc", "embedded-alloc"]
[profile.dev]
panic = "abort"