Files
wasmtime/crates
Alex Crichton 4c1339a8fa Refactor lifting/lowering to not require a Func (#4216)
When lifting and lowering for component host imports there won't be a
`Func` available to represent the options and such for the lowering.
That means that the current construction of the `ComponentValue` trait
won't be sufficient for host imports. This commit instead refactors the
traits to instead work with an `Options` type where the `Options` type
can be manufactured from thin air out of the arguments passed to the
component host trampolines.

This new `Options` type is also suitable for storing in `WasmStr` and
`WasmList` to continue to be used to refer back to memory after
these lifted values have been given back to the embedder.

Overall this should largely just be shuffling code around and renaming
`func: &Func` to `options: &Options`.
2022-06-03 12:37:59 -05:00
..
2022-05-05 13:43:02 -05:00
2022-05-05 13:43:02 -05:00
2022-05-05 13:43:02 -05:00
2022-05-05 13:43:02 -05:00
2022-05-05 13:43:02 -05:00
2022-05-05 13:43:02 -05:00
2022-05-05 13:43:02 -05:00