<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in empty-component.wat</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>367bdc8c - Refactor Wasmtime CLI to support components (#6836)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/tests/all/cli_tests/empty-component.wat#367bdc8c</link>
        <description>Refactor Wasmtime CLI to support components (#6836)This commit refactors the `wasmtime` CLI executable to be able tosupport not only compiling components but additionally executingcomponents. While I was doing this I&apos;ve additionally added a new`--preview2` argument to enable using the new experimentalimplementation of preview1 based on preview2 type/structs. This isoff-by-default but is expected to become the default in the future.Some notable features of this change are:* The preview1-implemented-with-preview2 module now sports  `add_to_linker_{async,sync}` to replace the previous `add_to_linker`  which always did async.* Some trait bounds in the preview1-implemented-with-preview2 module are  simplified.* Some minor changes were made to `wiggle`&apos;s macros to support a &quot;block  on&quot; that isn&apos;t the default wiggle dummy executor (as now we actually  do need Tokio)* Many options related to core wasm `Linker` configuration, such as  `--default-values-unknown-imports`, are not implemented for components  at this time. When used with components these options return an error.* Construction of WASI contexts has been refactored to pass around fewer  arguments to avoid threading through lots of values for both preview1  and preview2.* Reading the input to the Wasmtime CLI has been updated to read the  input in the `run` subcommand before handing it off to the `wasmtime`  crate&apos;s API to enable the CLI to use the contents of what&apos;s loaded to  determine what to do next.* Our generic `./ci/run-tests.sh` script has been updated to pass the  `--features component-model` flag to ensure that this CLI support is  tested during the normal test suite.* The CLI support for `wasi-nn` supports components as well as core wasm  modules.

            List of files:
            /wasmtime-44.0.1/tests/all/cli_tests/empty-component.wat</description>
        <pubDate>Sat, 19 Aug 2023 00:15:01 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
