Coder Social home page Coder Social logo

Comments (5)

syumai avatar syumai commented on June 26, 2024 1

I'll check this later 🙏

from workers.

marhyn avatar marhyn commented on June 26, 2024 1

Just a thought. MDN suggest to use WebAssembly.instantiateStreaming to get the Webassembly.Instance. https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/Instance

Maybe the module initialization imports.init(mod); should pass WebAssembly.Module according to the example

from workers.

syumai avatar syumai commented on June 26, 2024 1

Go 1.21 introduced new property to importObject.
golang/go#61982 (comment)

I'll update wasm_exec.js to latest version.

from workers.

marhyn avatar marhyn commented on June 26, 2024 1

Thanks, consider this issue fixed!

It even worked with the latest tag, so I didn't have to change a thing.

from workers.

syumai avatar syumai commented on June 26, 2024

@marhyn This problem has been solved in #72.
Please edit your Makefile and fix workers-assets-gen command's version to v0.18.0.

   5   │ .PHONY: build
   6   │ build:
   7   │     go run github.com/syumai/workers/cmd/[email protected] -mode=go

Then, please re-run make dev.

from workers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.