<?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 lib.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>282edac1 - Restructure building the C API (#7341)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/artifact/src/lib.rs#282edac1</link>
        <description>Restructure building the C API (#7341)This commit introduces a wrapper crate which is now the new &quot;real&quot; CAPI. The purpose of this change is to enable using LTO when building theC API. Currently LTO is disabled because one of the crate types of the CAPI is an &quot;rlib&quot; which means that it can&apos;t have LTO performed due torustc limitations. The solution here is to remove the &quot;cdylib&quot; and&quot;staticlib&quot; crate types from the &quot;wasmtime-c-api&quot; crate, rename thatcrate to &quot;wasmtime-c-api-impl&quot;, and reintroduce &apos;wasmtime-c-api&apos; as anew crate which wraps the previous crate and reexports it.This way LTO can be enabled when just building the artifacts and the usecase from #6765 is still satisfied by having a crate that can be linkedto from Rust. Locally this reduces the size of the C API artifact for meby nearly 1M.

            List of files:
            /wasmtime-44.0.1/crates/c-api/artifact/src/lib.rs</description>
        <pubDate>Tue, 24 Oct 2023 15:10:49 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
