-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add ci build for WASM target for specific packages #394
Conversation
b2ab546
to
450f8b8
Compare
@@ -45,3 +45,6 @@ bincode.workspace = true | |||
[[test]] | |||
name = "api" | |||
required-features = ["fixtures"] | |||
|
|||
[target.'cfg(target_arch = "wasm32")'.dependencies] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should ring = { version = "0.17", features = ["wasm32_unknown_unknown_js"] }
also be required here since tlsn-tls-core
is a dependency and it depends on ring
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mhchia I am not sure. I have not fully analysed the dependencies.
It builds without specifying it here, so that is why I didn't add it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think tls-core
already pulls in ring 0.17
because it has ring.workspace = true
. So no need to make it a dependency of tlsn-core
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, haven't thought about this. Following this additive-features it would probably work in most cases, since it is never pulled in alone.
But it would probably be better to add the feature to tls-core
then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following this additive-features it would probably work in most cases, since it is never pulled in alone.
I see. Thanks for sharing! If tlsn-core
is not used alone then whether adding or not both works for me 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
No description provided.