rabin-wasm icon indicating copy to clipboard operation
rabin-wasm copied to clipboard

Update as-pect and assemblyscript version

Open jtenner opened this issue 6 years ago • 6 comments

A new version of the as-pect cli was released.

Thanks for using as-pect!

jtenner avatar Jul 18 '19 17:07 jtenner

Thank you for the PR but i need to update the code to the last assemblyscript version, im still using the old syntax.

hugomrdias avatar Aug 01 '19 14:08 hugomrdias

Let me take a look and see if I can help you with that.

jtenner avatar Aug 01 '19 15:08 jtenner

It looks like I can update a lot of your packages and get things installed on my machine, but I have some problems with testing.

I am on a windows machine and cannot run the build binary.

It also looks like the example.imports.js file returns a new Uint8Array which cannot be used. That file returns the reference to be passed into web assembly and will be coerced to an i32 as a result. I moved it into the test itself with a create<T>() function that generates the values for you.

jtenner avatar Aug 01 '19 15:08 jtenner

All set! Please let me know if you have any questions or need help with the latest version of AssemblyScript 🎉

jtenner avatar Aug 01 '19 16:08 jtenner

actually can you help me with this https://github.com/ipfs/js-ipfs/issues/2118#issuecomment-497721075 to remove this https://github.com/hugomrdias/rabin-wasm/pull/5/files#diff-1cecc8788b4594868b522b0b733a03d4R49-R52

thank you for your help !!!

hugomrdias avatar Aug 01 '19 16:08 hugomrdias

Please forgive me if I don't understand what you're asking for, but I do think that this should cover your needs.

Can you please test this?

jtenner avatar Aug 01 '19 16:08 jtenner