Skip to content

fix(hyperlight-component-util): emit_hl_marshal_value function to use alloc::vec! instead of alloc::vec::vec! #436

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

Conversation

Mossaka
Copy link

@Mossaka Mossaka commented Apr 26, 2025

This is a fix for the issue where the emit_hl_marshal_value function was using alloc::vec::vec! instead of alloc::vec!.

The following is the build error:

error[E0433]: failed to resolve: could not find `vec` in `vec`

syntactically and others added 8 commits March 25, 2025 19:11
This ensures that setting an execution timeout of 0 disables execution
timeouts entirely. This is temporary, as we intend to remove the
wall-clock timeout feature from Hyperlight entirely in the near
future.

Signed-off-by: Lucy Menon <[email protected]>
This is useful to allow host-side code to work on both core Hyperlight
sandboxes and wrapped sandboxes like Hyperlight Wasm.

Signed-off-by: Lucy Menon <[email protected]>
This is useful to allow host-side code to work on both core Hyperlight
sandboxes and wrapped sandboxes like Hyperlight Wasm.

Signed-off-by: Lucy Menon <[email protected]>
This commit adds a general implementation of WebAssembly Component
Model type elaboration, closely derived from the formal
specification. It also adds a number of functions which can generate
Rust binding code from appropriately-structured (roughly: WIT-like)
component types.

Signed-off-by: Lucy Menon <[email protected]>
This adds a proc-macro crate that exposes the bindings code generation
from hyperlight_component_util as a macro suitable for using WIT to
define a hyperlight host<->guest interface.

Signed-off-by: Lucy Menon <[email protected]>
Signed-off-by: Lucy Menon <[email protected]>
… alloc::vec instead of alloc::vec::vec

This is a fix for the issue where the emit_hl_marshal_value function was using alloc::vec::vec! instead of alloc::vec!.

The following is the build error:

```
error[E0433]: failed to resolve: could not find `vec` in `vec`
```

Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
@Mossaka Mossaka changed the base branch from main to hyperlight-component-macro April 26, 2025 21:48
@Mossaka Mossaka changed the title issue with bool fix(hyperlight-component-util): emit_hl_marshal_value function to use alloc::vec! instead of alloc::vec::vec! Apr 26, 2025
@syntactically syntactically force-pushed the hyperlight-component-macro branch from 1f40391 to 39a4a7c Compare June 4, 2025 19:52
@syntactically syntactically force-pushed the hyperlight-component-macro branch 9 times, most recently from 6c48fd8 to 3143032 Compare June 6, 2025 19:01
@danbugs danbugs deleted the branch hyperlight-dev:hyperlight-component-macro June 6, 2025 22:17
@danbugs danbugs closed this Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants