fix: gate tokio::time::sleep behind server feature #4

Merged
mik-tf merged 1 commit from development_hero_zero_standardize into development 2026-02-12 02:00:57 +00:00
Owner

tokio is only available under the server feature, but the cfg gate used target_arch which activates on native cargo check. Changed to cfg(all(not(wasm32), feature="server")) so it only compiles when tokio is actually available.

cargo check: clean (warnings only)
cargo test: 7 passed, 0 failed

tokio is only available under the server feature, but the cfg gate used target_arch which activates on native cargo check. Changed to cfg(all(not(wasm32), feature="server")) so it only compiles when tokio is actually available. cargo check: clean (warnings only) cargo test: 7 passed, 0 failed
fix: gate tokio::time::sleep behind server feature
Some checks failed
Build and Test / build (pull_request) Failing after 4m1s
b1e70cf327
tokio is only available under the server feature, but the cfg gate
used target_arch which activates on native cargo check. Changed to
cfg(all(not(wasm32), feature = "server")) so it only compiles when
tokio is actually available.
mik-tf merged commit 832041396a into development 2026-02-12 02:00:57 +00:00
mik-tf deleted branch development_hero_zero_standardize 2026-02-12 02:00:57 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_wasmos!4
No description provided.