Skip to content

[Question] asm.js usage #776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lbittner-pdftron opened this issue Aug 20, 2019 · 1 comment
Closed

[Question] asm.js usage #776

lbittner-pdftron opened this issue Aug 20, 2019 · 1 comment
Labels

Comments

@lbittner-pdftron
Copy link

Hi! Me again. Feel free to close this issue if it's not related to this project.

I see that AssemblyScript is able to output asm.js as well as WASM. My question is, how do I use the generated asm.js file? The top of the asm file has these imports:

import { abort } from 'env';
import { now } from 'Date';
import { p.log } from 'index';
import { p.r } from 'index';

which aren't even valid & don't run in the browser.

Should I be using another utility to use this file?
Any guidance is appreciated.

Thank you!

@MaxGraey
Copy link
Member

MaxGraey commented Aug 20, 2019

It's binatyen issue which already fixed. We just need update dependencies which will happen in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants