this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead! 文中使用的方法已经被移除了!
- 主要語言
- C++
- 星號
- 1.4k
- 分支
- 170
- PR 合併指標
- 30 天內沒有已合併 PR
描述
this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead!
hello.js:2400 this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead!
abort @ hello.js:2400
Pointer_stringify @ hello.js:806
Module.onRuntimeInitialized @ app.js:3
doRun @ hello.js:2309
run @ hello.js:2326
runCaller @ hello.js:2275
removeRunDependency @ hello.js:1535
receiveInstance @ hello.js:1653
receiveInstantiatedSource @ hello.js:1670
Promise.then (async)
(anonymous) @ hello.js:1691
Promise.then (async)
instantiateAsync @ hello.js:1689
createWasm @ hello.js:1716
Module.asm @ hello.js:1740
(anonymous) @ hello.js:2082
app.js:6 Uncaught (in promise) abort(this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead!) at Error
at jsStackTrace (http://127.0.0.1:8080/output/hello.js:1808:17)
at stackTrace (http://127.0.0.1:8080/output/hello.js:1825:16)
at abort (http://127.0.0.1:8080/output/hello.js:2406:44)
at Pointer_stringify (http://127.0.0.1:8080/output/hello.js:806:3)
at Object.Module.onRuntimeInitialized (http://127.0.0.1:8080/app.js:3:3)
at doRun (http://127.0.0.1:8080/output/hello.js:2309:71)
at run (http://127.0.0.1:8080/output/hello.js:2326:5)
at runCaller (http://127.0.0.1:8080/output/hello.js:2275:19)
at removeRunDependency (http://127.0.0.1:8080/output/hello.js:1535:7)
at receiveInstance (http://127.0.0.1:8080/output/hello.js:1653:5)
Module.onRuntimeInitialized @ app.js:6
doRun @ hello.js:2309
run @ hello.js:2326
runCaller @ hello.js:2275
removeRunDependency @ hello.js:1535
receiveInstance @ hello.js:1653
receiveInstantiatedSource @ hello.js:1670
Promise.then (async)
(anonymous) @ hello.js:1691
Promise.then (async)
instantiateAsync @ hello.js:1689
createWasm @ hello.js:1716
Module.asm @ hello.js:1740
(anonymous) @ hello.js:2082
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
The error points to `Pointer_stringify` in `hello.js:806` and `app.js:3`. Look at the Emscripten-generated `hello.js` file to find the deprecated call, and the `app.js` file to see the calling code. Replace `Pointer_stringify` with `UTF8ToString(ptr, maxBytesToRead)`. Verify the fix by rebuilding the WebAssembly project and running it locally.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp, javascript, wasm
- 領域
- tooling, web-dev
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100