Git Product home page Git Product logo

Comments (3)

LastLeaf avatar LastLeaf commented on July 3, 2024

可以的。

from miniprogram-rust-wasm-example.

sanruby avatar sanruby commented on July 3, 2024

谢谢回复,iOS真机断开微信小程序开发工具后,得新启动小程序,加载过程出现
Error loading Rust wasm module 'demo': <ReferenceError: Can't find variable: WebAssembly>
2 (in promise) MiniProgramError
Can't find variable: WebAssembly
at WebAssembly (demo.js:75:28)
at (WASubContext.js:2:66139)
at (WASubContext.js:2:66247)
at e (WASubContext.js:2:68700)
at (WASubContext.js:2:32938)
at r (WASubContext.js:2:32637)
at h (WASubContext.js:2:111445)
at (WASubContext.js:2:112266)
at (WASubContext.js:2:94559)
at (WASubContext.js:2:101100)
_onNativeTimer
global code
请教这个是什么原因?Android真机正常.有微信的联系的方式么?我的微信号:929098991

from miniprogram-rust-wasm-example.

LastLeaf avatar LastLeaf commented on July 3, 2024

第2步转换为 js 之后,应该就不会再调用 WebAssembly 了。这一步失败了。

可以参考我的公众号文章上面对每一步的解释来分析问题。

from miniprogram-rust-wasm-example.

Related Issues (2)

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.