Skip to content

EXPORT NAME isidentifier() check prevents exporting into, e.g. AudioWorkletGlobalScope #17319

@olilarkin

Description

@olilarkin

Forgive me if I can fix this easily in my code, but since a fairly recent emscripten version, I have problems exporting a wasm module which needs to be in the AudioWorkletGlobalScope. It seems like it is a valid js indentifier, e.g. AudioWorkletGlobalScope.WAM.MyWebAudioModule, but the emcc python script doesn't allow it. If I comment out this check it builds and works fine.

if not js_manipulation.isidentifier(settings.EXPORT_NAME):

What would be the best solution?

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