WasmEdge / wasmedge-rust-sdk

Embed WasmEdge functions in a Rust host app
Apache License 2.0
30 stars 15 forks source link

fix: cross-plaform type #109

Closed L-jasmine closed 5 months ago

juntao commented 5 months ago

Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR.


Commit 49c1f5c1c5bd0b39b541be56199dce48ec91070e

Key Changes:

Potential Problems:

  1. The change from Vec<*const i8> to Vec<*const ::std::os::raw::c_char> may cause compatibility issues with existing code that relies on the previous type.
  2. Verify if the conversion to ::std::os::raw::c_char is appropriate for the intended usage and if it aligns with the conventions and requirements of the project.
  3. It would be beneficial to ensure that the necessary dependencies and imports for ::std::os::raw::c_char are correctly included and handled in all target platforms.