-
Notifications
You must be signed in to change notification settings - Fork 789
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
[Rust] Introduce the NeverType
type
#2497
Conversation
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Signed-off-by: Xin Liu <[email protected]>
Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR. This Pull Request titled "[Rust] Introduce the
It is recommended to address these issues and ensure proper testing, documentation, and compatibility before merging the pull request. DetailsCommit 94ec5c3887d500e07c2b3e0117c4f672e51d6a2cThe provided GitHub patch introduces several key changes:
Potential problems:
Commit ac6f36caf327a60fcafded97826ee959df6da905This patch updates the version of the As a reviewer for this specific Pull Request, I would not be able to identify any potential problems without further context or information about changes in version 0.14.0 of the Commit d95ba51a3adb1f5ea9c5fbfc308511ded35c5eadThis patch introduces a new update to the
Potential problems:
Commit 945c539fd1972b0f6e824c7f029b2d23c68afa4dThis pull request introduces the
Potential problems:
It is recommended to carefully evaluate the potential problems and their implications on existing code, and to properly test and document the new features to ensure smooth integration. Commit 93c7aa6b965e867cc345dc276f7330a22bb22357This patch updates the version of the
Key changes:
There are no significant issues or major problems with this patch. However, it's essential to ensure that the new version Commit ef845e7631ba3a7a4f61f9f4718db65863d0fbafThis patch introduces changes to the
Potential problems:
Commit 07f4e98bf4913b31c6d7a746c73420a4a3305acfSummary of key changes:
Potential problems:
Commit 4b6b552e2ace2abcb0dae70d8226d99cfa1db9ebSummary of key changes:
Potential problems:
Commit 172e7e10440ea98f7d58f9cbe1ed12f42278f1d4Summary:
Potential problems:
Commit 7e1caa7b48046a8552537e7b9b082333a07db7b0This patch introduces the Key changes:
Potential problems:
Commit 55888ee2962fd0f701c12e80293ebd13b923fcc1The pull request introduces the
Potential Problems:
Commit ee8d55b20c5bc674ca7e896fdd12e1fb32128183Summary of key changes:
Potential problems:
Recommendation:
|
@hydai Could you please help review this PR? Thanks a lot! |
@hydai Thanks for the review! |
* feat(rust-sys): support context data in host func Signed-off-by: Xin Liu <[email protected]> * version(rust-sys): bump to 0.14.0 Signed-off-by: Xin Liu <[email protected]> * chore(rust-macro): update host_function macro Signed-off-by: Xin Liu <[email protected]> * feat(rust-sdk): support context data in host func Signed-off-by: Xin Liu <[email protected]> * version(rust-macro): bump to 0.4.0 Signed-off-by: Xin Liu <[email protected]> * chore(rust-macro): update async macros Signed-off-by: Xin Liu <[email protected]> * chore(rust-sys): update code Signed-off-by: Xin Liu <[email protected]> * chore(rust-sys): new example Signed-off-by: Xin Liu <[email protected]> * chore(rust-sdk): update code Signed-off-by: Xin Liu <[email protected]> * chore(rust-sys): update code Signed-off-by: Xin Liu <[email protected]> * chore(rust-sdk): update code Signed-off-by: Xin Liu <[email protected]> * chore(rust-sys): update dependency Signed-off-by: Xin Liu <[email protected]> --------- Signed-off-by: Xin Liu <[email protected]> Co-authored-by: hydai <[email protected]> Signed-off-by: Sarrah Bastawala <[email protected]>
In this PR, the
NeverType
type is introduced as a workaround solution to support the generic context data argument of host functions. This solution will be used until the official never type!
in Rust is stable.Note that the new type is only available for defining
sync
host functions. Forasync
host functions, it will be used after the in-progress newasync
design is stable.