-
-
Notifications
You must be signed in to change notification settings - Fork 154
log4rs does not work on target wasm32-wasi #244
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
Labels
Comments
We should be able to avoid calling thread_id all together in wasi compile target. |
Hi, I tried taking a stab at this issue on PR #407 , please suggest if I need to make any changes for the PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I would like to use log4rs and compile it to the target wasm32-wasi:
Output:
This does not work as there is an issue with the thread-id library: ruuda/thread-id#10
Note: The issue is rather old and wasm allows compilation with threads (no other library causes problems...). If I remove log4rs as a dependency then I can compile.
Do you have a pointer where thread-id is used and if this could be maybe removed from log4rs?
I think making it work on WASM would extend the potential use cases of log4rs significantly.
Thank you.
The text was updated successfully, but these errors were encountered: