Skip to content

fix: guard disk-persistence with not(target_arch = "wasm32")#16

Merged
0xAndoroid merged 2 commits intomainfrom
wasm
Feb 25, 2026
Merged

fix: guard disk-persistence with not(target_arch = "wasm32")#16
0xAndoroid merged 2 commits intomainfrom
wasm

Conversation

@0xAndoroid
Copy link
Collaborator

disk-persistance to be disabled on wasm

std::fs/std::env/std::path don't exist on wasm32-unknown-unknown.
Add not(wasm32) guards so disk-persistence compiles as a no-op on WASM
while remaining fully functional on native targets.
Signed-off-by: Andrew Tretyakov <42178850+0xAndoroid@users.noreply.github.com>
@0xAndoroid 0xAndoroid merged commit d58f15d into main Feb 25, 2026
5 checks passed
@0xAndoroid 0xAndoroid deleted the wasm branch February 25, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant