rvolosatovs opened PR #11244 from rvolosatovs:fix/component-model-async-features to bytecodealliance:main:
Currently, building
wasmtimevia:$ cargo build -p wasmtime --no-default-features --features component-model-asyncfails with:
error[E0432]: unresolved import `wasmtime_environ::fact` --> crates/wasmtime/src/runtime/component/concurrent.rs:88:36 | 88 | use wasmtime_environ::{PrimaryMap, fact}; | ^^^^ no `fact` in the root | note: found an item that was configured out --> /Users/rvolosatovs/src/github.com/bytecodealliance/wasmtime/crates/environ/src/lib.rs:72:9 | 72 | pub mod fact; | ^^^^ note: the item is gated here --> /Users/rvolosatovs/src/github.com/bytecodealliance/wasmtime/crates/environ/src/lib.rs:71:1 | 71 | #[cfg(all(feature = "component-model", feature = "compile"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^in order to avoid the need for
component-model-asyncfeature to enablewasmtime-environ/compile, promoteSTART_FLAG_ASYNC_CALLEEto crate-level const<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
rvolosatovs requested alexcrichton for a review on PR #11244.
rvolosatovs requested wasmtime-core-reviewers for a review on PR #11244.
rvolosatovs assigned rvolosatovs to PR #11244.
alexcrichton created PR review comment:
Mind moving this to
component.rs? There's a few other constants in there as well so I think it'd fit well there.
alexcrichton submitted PR review:
Thanks! Mind adding a check for this on CI as well? (e.g. the
micro_checksjob)
rvolosatovs requested badeend for a review on PR #11244.
rvolosatovs requested wasmtime-default-reviewers for a review on PR #11244.
rvolosatovs updated PR #11244 (assigned to rvolosatovs).
rvolosatovs merged PR #11244.
Last updated: Dec 06 2025 at 06:05 UTC