FrankReh added the bug label to Issue #8889.
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); | ^^^^^^^^^^^^ |
fitzgen commented on issue #8889:
Thanks for the bug report -- fix over in https://github.com/bytecodealliance/wasmtime/pull/8891
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); | ^^^^^^^^^^^^ |
FrankReh commented on issue #8889:
Thanks @fitzgen!
Last updated: Dec 23 2024 at 12:05 UTC