Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: overly-restrictive wasm cfg for keystore #681

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

xJonathanLEI
Copy link
Owner

Currently keystore related functionalities are disabled when compiling for wasm32, with the assumption that wasm targets do not have a file system.

This is not entirely true though. WASI targets for example for access to files. This PR fixes it by relaxing the condition to only disable them when target_os is unknown.

@xJonathanLEI xJonathanLEI merged commit 093d5ec into master Dec 2, 2024
27 checks passed
@xJonathanLEI xJonathanLEI deleted the fix/wasm_keystore branch December 2, 2024 16:00
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