this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead! 文中使用的方法已经被移除了!
- Linguagem predominante
- C++
- Estrelas
- 1.4k
- Forks
- 170
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- cpp, javascript, wasm
- Domínio
- tooling, web-dev
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 40/100