Skip to content
Snippets Groups Projects
Commit a29180af authored by Joe Richey's avatar Joe Richey Committed by Joseph Richey
Browse files

wasm32: Unify error codes an implementations


Right now, while our implementations for stdweb and wasm-bindgen use
similar APIs, they do not use similar implementations. This change:

  - Switches to using the same error codes for both implementations
  - Uses error codes that detail exactly what API is missing
  - Cleans up the implemetnations to make them much more readable
  - Consitantly use thread_local in both implementations

This makes issues easier to debug and the code easier to understand.

Signed-off-by: default avatarJoe Richey <joerichey@google.com>
parent 10df5588
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment