Skip to content

CMake Build producing very large .lib files in Debug Builds #13732

Description

@Irrgh

I tried building wasmtime v44.0.1 as a dependency in my C++ project using the c-api as instructed in https://docs.wasmtime.dev/c-api/.

Building with CMAKE_BUILD_TYPE Debug produces a very large static library:

Image

Under otherwise the same settings for Release it produces:

Image

Binaries being larger on Debug is not suprising, but more than 2GB for a static lib doesn't really make sense no matter how i think about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions