googlecodelabs / web-assembly-introduction

Introduction to Web Assembly
Apache License 2.0
27 stars 9 forks source link

lyff needs to change memoryBase to __memory_base and tableBase to __table_base #12

Open william8000 opened 5 years ago

william8000 commented 5 years ago

The changes are required by https://github.com/kripken/emscripten/pull/7467 Without the changes, lyff fails with WebAssembly Instantiation: Import #1 module="env" function="__memory_base" error: global import must be a number or WebAssembly.Global object I have some other small changes in my clone https://github.com/william8000/web-assembly-introduction

skbhartihbti commented 5 years ago

https://github.com/googlecodelabs/web-assembly-introduction/issues/11

With later version of emcc replace memoryBase with __memory_base and tableBase with __table_base.

LeeYunhang commented 5 years ago

11

With later version of emcc replace memoryBase with __memory_base and tableBase with __table_base.

I wanna to know why it's not same as WebAssembly spec 😢

ch3ll0v3k commented 4 years ago

11

With later version of emcc replace memoryBase with __memory_base and tableBase with __table_base.

Thank you :))))