-
Notifications
You must be signed in to change notification settings - Fork 166
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
no_std doesn't work for wasm_unkown_unknown target #176
Comments
Please try the latest |
I already picked the latest commit on main branch for the above |
and if I enable alloc its the same err |
Currently WebAssembly isn't supported by webpki yet See issue #141. I expanded the explanation in that issue of what needs to happen based on your report here. My guess is that you aren't targeting a web browser environment and so the web-sys crate shouldn't be used for your target environment. Since ring currently unconditionally requires However, in order to successfully use webpki in WebAssembly, after that initial hurdle is crossed, all of the stuff mentioned in #141 needs to be fixed. If you agree, let's close this as a dupe of issue #141. |
Correct, we're not targeting a web broweser env. The substrate framework has its own replacement of std (sp-std on crates.io). This may conflict with web-sys. |
We get
reproduce:
now, include webpki in our pallet crate by switching to the
webpki-debug
branch herehttps://github.com/scs/integritee-parachain/blob/7a9bfdb5f862c99e7b22426f0d6e004bf7ad56b2/rococo-parachains/runtime/Cargo.toml#L11
will fail with the above error.
so, the changes causing the error are:
integritee-network/pallet-teerex@69a96ad
In the end, we'll need
alloc
too, but I tried to isolate the issue as much as possibleThe text was updated successfully, but these errors were encountered: