Skip to content

compile_error!("Only features sync,macros,io-util,rt,time are supported on wasm."); #749

Answered by Chriscbr
otaviomacedo asked this question in Q&A
Discussion options

You must be logged in to vote

@otaviomacedo I found this GItHub issue reporting a similar problem: dtolnay/thiserror#192. Two ideas:

  • Can you try running cargo clean and see if that makes a difference?
  • Can you check if you are using rust-analyzer (e.g. through an IDE extension) and whether it's on a recent version?

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
2 replies
@otaviomacedo
Comment options

otaviomacedo Nov 24, 2022
Collaborator Author

@staycoolcall911
Comment options

Comment options

You must be logged in to vote
5 replies
@otaviomacedo
Comment options

otaviomacedo Nov 24, 2022
Collaborator Author

@yoav-steinberg
Comment options

@otaviomacedo
Comment options

otaviomacedo Nov 24, 2022
Collaborator Author

@yoav-steinberg
Comment options

@otaviomacedo
Comment options

otaviomacedo Nov 25, 2022
Collaborator Author

Comment options

You must be logged in to vote
7 replies
@Veercodeprog
Comment options

@Veercodeprog
Comment options

@eladb
Comment options

@Veercodeprog
Comment options

@skyrpex
Comment options

Answer selected by otaviomacedo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants