Stream: git-wasmtime

Topic: wasmtime / issue #8889 feature pooling-allocator doesn't ...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2024 at 23:57):

FrankReh added the bug label to Issue #8889.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2024 at 23:57):

FrankReh opened issue #8889:

Trying to get parts of wasmtime to compile without enlisting all features.

The pooling-allocator feature pulls in some code but uses a field that is only defined when the crate/wasmtime feature "async" is defined.

wasmtime $ cargo check --no-default-features --features pooling-allocator
error[E0599]: no method named `total_stacks` found for struct `PoolingAllocationConfig` in the current scope
   --> crates/cli-flags/src/lib.rs:593:29
    |
593 |                         cfg.total_stacks(limit);
    |                             ^^^^^^^^^^^^
    |

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2024 at 20:29):

fitzgen commented on issue #8889:

Thanks for the bug report -- fix over in https://github.com/bytecodealliance/wasmtime/pull/8891

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2024 at 01:49):

elliottt closed issue #8889:

Trying to get parts of wasmtime to compile without enlisting all features.

The pooling-allocator feature pulls in some code but uses a field that is only defined when the crate/wasmtime feature "async" is defined.

wasmtime $ cargo check --no-default-features --features pooling-allocator
error[E0599]: no method named `total_stacks` found for struct `PoolingAllocationConfig` in the current scope
   --> crates/cli-flags/src/lib.rs:593:29
    |
593 |                         cfg.total_stacks(limit);
    |                             ^^^^^^^^^^^^
    |

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2024 at 21:46):

FrankReh commented on issue #8889:

Thanks @fitzgen!


Last updated: Nov 22 2024 at 16:03 UTC