Skip to content

Documentation: Wrong doc about Config::wasm_component_model #9694

@ifsheldon

Description

@ifsheldon

/// This is `false` by default.

Here, the documented default is wrong, because the default features of wasmtime include component-model

'component-model',

and the enabled features is determined at compile time by

features.set(

The documentation should be something like

This is `cfg!(feature = "component-model")` by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions