Skip to content

error: lib/stdlib-base.wasm: not a relocatable wasm file #2

@masonforest

Description

@masonforest

Hey @guybedford 👋

This is great! I'd love to get this working so I could compile C++ > wasm directly with LLVM. I think I'm close.

wasm-link has been deprecated in favor of lld.

I made that change here.

Now I'm getting:

error: lib/stdlib-base.wasm: not a relocatable wasm file if I use wabt's wast2wasm to compile stdlib-base.wasm

and

[parse exception: expected more elements in list (at 15:4)]Fatal: error in parsing input if I use binaryen's wasm-as

Thanks for putting this together!

-Mason

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