Skip to content

project fails to build in release mode while consuming gigabytes of memory #96

@iamcodemaker

Description

@iamcodemaker

I'm trying to add typed-html support to a web framework I built and am encountering an issue building a sample app. Everything works fine in debug mode, but release mode builds eat up gigabytes of memory. I'm not sure if this is a problem with typed-html or rustc but it doesn't happen when not using typed-html.

Code is here. Run wasm-pack build or cargo build --release in the crate.typed-html directory to observe the issue. Building with wasm-pack build --dev or cargo build works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions