Skip to content

Support Zstandard in Browser/WASM #123498

@rzikm

Description

@rzikm

Follow-up from #119575.

The static linking of zstd to browser runtime increases the runtime size by about 0.5 MB which is a noticeable increase. The native relink process can strip out most of it if Zstandard APIs are not used in the code, but the code is not stripped otherwise.

After discussion with @pavelsavara, we aggreed that the feature should have an opt-in switch.

The changes needed to make it build and pass tests are the inverse of 196fbc9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmWebAssembly architecturearea-System.IO.Compressionos-browserBrowser variant of arch-wasmos-wasiRelated to WASI variant of arch-wasmuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions