<?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 build.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>f33f15e6 - Use `if cfg!(...)` instead of `#[cfg]` (#12889)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#f33f15e6</link>
        <description>Use `if cfg!(...)` instead of `#[cfg]` (#12889)Minor style follow-up from #12841

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Mon, 30 Mar 2026 13:13:00 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>fa8cd552 - Cranelift: perform aggressive splitting of generated ISLE function bodies in debug builds. (#12841)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#fa8cd552</link>
        <description>Cranelift: perform aggressive splitting of generated ISLE function bodies in debug builds. (#12841)As investigated in #12821, ISLE-generated Rust code with many localsin one large function body results in unreasonably-large stack frameswhen rustc&apos;s optimizations (and therefore LLVM&apos;s mem2reg) aredisabled. In `constructor_simplify`, a single function body generatedfrom all mid-end rewrite rules, I was seeing a stack-frame size of`0x44000` bytes (272 KiB) on x86-64 (while in an opt build it is`0x1000` bytes (4 KiB)). With a recursion depth of 5 (the defaultlimit) for rewrites of RHS-created nodes, this has the potential tooverrun a 1 MiB stack; and is generally quite wasteful.In [another branch] I attempted to make `islec` do manual regalloc ofa sort just for multi-extractor iterators; but soon realized that theproblem has to do with *all* locals (which become `alloca`s in LLVMIR), not just the iterators. We could do the equivalent thing to shareall locals but this would become grossly un-idiomatic for e.g. LHSesof destructuring in Rust.Instead, this PR leverages previous work in #12303 (thanks Bongjun!)that splits function bodies in the generated Rust code from ISLE witha configurable threshold. This PR enables that feature and makes thethreshold quite low in debug builds. This has the natural effect ofsplitting locals among many smaller stack frames, which aredynamically pushed only when matching enters a particular subtree; sostack usage more closely mirrors the actual live-set of values boundduring matching.With this change, the stack frame for the top-level`constructor_simplify` is &lt; 4 KiB on x86-64 in a debug build.Fixes #12821.[another branch]: https://github.com/cfallin/wasmtime/tree/isle-iterator-reuse

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 25 Mar 2026 18:59:41 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>487d1fcc - Optimize ISLE compilation (#12303)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#487d1fcc</link>
        <description>Optimize ISLE compilation (#12303)* optimize isle codegen for rustc* opt-in for optimizing isle codegen* have a controller threshold

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Tue, 27 Jan 2026 16:39:46 +0000</pubDate>
        <dc:creator>Bongjun Jang &lt;bongjun.jang@kaist.ac.kr&gt;</dc:creator>
    </item>
<item>
        <title>ef8a1a74 - Add logging support for debugging ISLE rules (#12233)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#ef8a1a74</link>
        <description>Add logging support for debugging ISLE rules (#12233)* Add logging support for debugging ISLE rules* remove unnecessary feature guard* use Debug print for escaping slashes

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 07 Jan 2026 10:01:43 +0000</pubDate>
        <dc:creator>Bongjun Jang &lt;bongjun.jang@kaist.ac.kr&gt;</dc:creator>
    </item>
<item>
        <title>0694bba3 - Strip prefixes in file names (#10650)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#0694bba3</link>
        <description>Strip prefixes in file names (#10650)Allow codegen to remove certain prefixes from source file paths whenprinting the paths in generated files. This currently is only applied tothe `OUT_DIR` and allows generated code to be deterministic.

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 23 Apr 2025 14:38:56 +0000</pubDate>
        <dc:creator>Adam Bratschi-Kaye &lt;adam.bratschikaye@dfinity.org&gt;</dc:creator>
    </item>
<item>
        <title>efb4e4c0 - Cranelift: tweak the ISLE-source-dir build script functionality. (#10466)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#efb4e4c0</link>
        <description>Cranelift: tweak the ISLE-source-dir build script functionality. (#10466)- Add a `cargo:rerun-if-env-changed` clause for the `ISLE_SOURCE_DIR`  environment variable to properly rebuild if the config changes.- Update docs to point to the new env-var-based approach rather than the  old Cargo feature.As per this Zulip conversation [1] and this GitHub comment [2].[1]: https://bytecodealliance.zulipchat.com/#narrow/channel/217117-cranelift/topic/How.20to.20enable.20the.20isle-in-source-tree.20feature.3F/near/508028830[2]: https://github.com/bytecodealliance/wasmtime/pull/9633#discussion_r2012230673

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Tue, 25 Mar 2025 16:21:38 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>48f4621f - Run the full test suite on 32-bit platforms (#9837)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#48f4621f</link>
        <description>Run the full test suite on 32-bit platforms (#9837)* Run the full test suite on 32-bit platformsThis commit switches to running the full test suite in its entirety(`./ci/run-tests.sh`) on 32-bit platforms in CI in addition to 64-bitplatforms. This notably adds i686 and armv7 as architectures that aretested in CI.Lots of little fixes here and there were applied to a number of tests.Many tests just don&apos;t run on 32-bit platforms or a platform withoutCranelift support, and they&apos;ve been annotated as such where necessary.Other tests were adjusted to run on all platforms a few minor bug fixesare here as well.prtest:full* Fix clippy warning* Get wasm code working by default on 32-bitDon&apos;t require the `pulley` feature opt-in on 32-bit platforms to getwasm code running.* Fix dead code warning* Fix build on armv7* Fix test assertion on armv7* Review comments* Update how tests are skipped* Change how Pulley is defaultedDefault to pulley in `build.rs` rather than in `Cargo.toml` to make iteasier to write down the condition and comment what&apos;s happening. Thismeans that the `pulley-interpreter` crate and pulley support inCranelift is always compiled in now and cannot be removed. This shouldhopefully be ok though as the `pulley-interpreter` crate is stillconditionally used (meaning it can get GC&apos;d) and the code-size ofCranelift is not as important as the runtime itself.* pulley: Save/restore callee-save state on traps* Fewer clippy warnings about casts* Use wrapping_add in `g32_addr`, fixing arm test

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 15 Jan 2025 18:43:18 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>6e955180 - Stop formatting ISLE generated code (#9901)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#6e955180</link>
        <description>Stop formatting ISLE generated code (#9901)The tool stack overflows in default configurations (Windows/CI).

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Thu, 26 Dec 2024 17:29:09 +0000</pubDate>
        <dc:creator>SingleAccretion &lt;62474226+SingleAccretion@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>b502cf99 - Cranelift: rework isle-in-source-tree functionality. (#9633)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#b502cf99</link>
        <description>Cranelift: rework isle-in-source-tree functionality. (#9633)Per #9625 and #9588, a downstream user of Cranelift was misusing the`isle-in-source-tree` feature, enabling it indiscriminately even inpublished crates (wasmerio/wasmer#5202). This went against the intent ofthe feature, to be a way for local developers to observe the generatedsource. As such, it ran afoul of some safety checks for that purpose,and also polluted users&apos; Cargo caches in a way that we cannot now fixexcept in future releases.The best we can do is probably to take away features that are liable tobe misused. Following discussion in today&apos;s Cranelift weekly meeting, wedecided to provide this functionality under an environment variableinstead. This allows folks who know what they&apos;re doing to get the samebehavior, but does not expose a feature to crate users.Fixes #9625.

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 20 Nov 2024 17:56:43 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>c255a853 - cranelift: fix typo (#9503)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#c255a853</link>
        <description>cranelift: fix typo (#9503)

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 23 Oct 2024 22:56:12 +0000</pubDate>
        <dc:creator>Andrew Brown &lt;andrew.brown@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>aee78b17 - Cranelift: Add a cargo feature to enable support for all native ISAs (#9237)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#aee78b17</link>
        <description>Cranelift: Add a cargo feature to enable support for all native ISAs (#9237)That is, all architectures other than Pulley.Fixes #9229

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Thu, 12 Sep 2024 22:22:33 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>9bcdf90f - Fix `cranelift-codegen` build script for Pulley backends (#9172)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#9bcdf90f</link>
        <description>Fix `cranelift-codegen` build script for Pulley backends (#9172)* Fix `cranelift-codegen` build script for Pulley backendsThe cargo feature is called &quot;pulley&quot; for both the pulley32 and pulley64backends, since they are the same code, but the build script was checking forcargo features named &quot;pulley32&quot; and &quot;pulley64&quot; instead.* Fix warnings in build

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Tue, 27 Aug 2024 16:11:42 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a0442ea0 - Enforce `uninlined_format_args` for the workspace (#9065)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#a0442ea0</link>
        <description>Enforce `uninlined_format_args` for the workspace (#9065)* Enforce `uninlined_format_args` for the workspace* fix: failing `Monolith Checks` job* fix: formatting

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Mon, 05 Aug 2024 09:59:59 +0000</pubDate>
        <dc:creator>Hamir Mahal &lt;hamirmahal@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>47d1640e - cranelift/codegen/meta: provide entry point to generate ISLE code only (#8462)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#47d1640e</link>
        <description>cranelift/codegen/meta: provide entry point to generate ISLE code only (#8462)* extract isle code generation* revert some customizations* revert changes to meta/src/error.rs

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Thu, 02 May 2024 20:22:52 +0000</pubDate>
        <dc:creator>Michael McLoughlin &lt;mcloughlin@cmu.edu&gt;</dc:creator>
    </item>
<item>
        <title>4b9f53a9 - move get_isle_compilations to codegen::meta (#8423)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#4b9f53a9</link>
        <description>move get_isle_compilations to codegen::meta (#8423)

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Sun, 21 Apr 2024 23:10:35 +0000</pubDate>
        <dc:creator>Michael McLoughlin &lt;mmcloughlin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f59b3246 - cranelift: Optimize select_spectre_guard, carefully (#8139)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#f59b3246</link>
        <description>cranelift: Optimize select_spectre_guard, carefully (#8139)* cranelift: Optimize select_spectre_guard, carefullyThis commit makes two changes to our treatment of`select_spectre_guard`.First, stop annotating this instruction as having any side effects. Weonly care that if its value result is used, then it&apos;s computed withoutbranching on the condition input. We don&apos;t otherwise care when the valueis computed, or if it&apos;s computed at all.Second, introduce some carefully selected ISLE egraph rewrites for thisinstruction. These particular rewrites are those where we can staticallydetermine which SSA value will be the result of the instruction. Sincethere is no actual choice involved, there&apos;s no way to accidentallyintroduce speculation on the condition input.* Add filetests

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 20 Mar 2024 22:31:45 +0000</pubDate>
        <dc:creator>Jamey Sharp &lt;jsharp@fastly.com&gt;</dc:creator>
    </item>
<item>
        <title>d4242001 - Support compilation-only build by adding a `runtime` feature (#7766)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#d4242001</link>
        <description>Support compilation-only build by adding a `runtime` feature (#7766)* Add `runtime` feature to `wasmtime` crateThis feature can be disabled to build `wasmtime` only for compilation.This can be useful when cross-compiling, especially on a target thatcan&apos;t run wasmtime itself (e.g. `wasm32`).* prtest:full* don&apos;t round pages without runtime feature* fix async assertions* move profiling into runtime* enable runtime for wasmtime-wasi* enable runtime for c-api* fix build_artifacts in non-cache case* fix miri extensions* enable runtime for wast* enable runtime for explorer* support cranelift all-arch on wasm32* add doc links for `WeakEngine`* simplify lib runtime cfgs* move limits and resources to runtime* move stack to runtime* move coredump and debug to runtime* add runtime to coredump and async features* add wasm32 build job* combine engine modules* single compile mod* remove allow for macro paths* add comments

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Mon, 29 Jan 2024 15:51:43 +0000</pubDate>
        <dc:creator>Adam Bratschi-Kaye &lt;adam.bratschikaye@dfinity.org&gt;</dc:creator>
    </item>
<item>
        <title>239e4a1c - Add opt patterns for 3-way comparison (`Ord::cmp` or `&lt;=&gt;`) (#7636)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#239e4a1c</link>
        <description>Add opt patterns for 3-way comparison (`Ord::cmp` or `&lt;=&gt;`) (#7636)* Add opt patterns for 3-way comparison (`Ord::cmp` or `&lt;=&gt;`)Compare clang: &lt;https://cpp.godbolt.org/z/bTbe1556W&gt;* Add `spaceship_[su]` extractors and constructors

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 06 Dec 2023 23:02:17 +0000</pubDate>
        <dc:creator>scottmcm &lt;scottmcm@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>b7b84780 - cranelift-codegen: add feature to explicitly enable the host ISA (#6551)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#b7b84780</link>
        <description>cranelift-codegen: add feature to explicitly enable the host ISA (#6551)It is needed because cargo features are additive. Given a situation where you have two dependencies:* One depends on cranelift aarch64 codegen, so it enables the `aarch64` feature.* The other depends on cranelift native codegen, so it does not enable any arch feature.Given the additive property of features, cranelift-codegen will be built with the `aarch64` feature for both dependencies (assuming they use the same cranelift version), so the native ISA will not be included (unless it is aarch64).With the `host-arch` feature added here, the native host ISA can now be explicitly requested without risk of another crate of the dependency tree disabling it.

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Wed, 21 Jun 2023 14:31:09 +0000</pubDate>
        <dc:creator>Eduardo S&#225;nchez Mu&#241;oz &lt;eduardosanchezmunoz@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a986ce96 - egraphs: Lift `splat` outside of int-to-float conversions (#6563)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/build.rs#a986ce96</link>
        <description>egraphs: Lift `splat` outside of int-to-float conversions (#6563)This commit adds a targeted optimization aimed at fixing #6562 as atemporary measure for now. The &quot;real&quot; fix for #6562 is to add a fulllowering of `fcvt_from_uint` to the x64 backend, but for now adding thisrule should fix the specific issue cropping up.Closes #6562

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/build.rs</description>
        <pubDate>Mon, 12 Jun 2023 20:08:19 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
