Hacker News new | ask | show | jobs
by fc417fc802 22 hours ago
You should be able to do exactly that though? Why do you think you can't?

You will of course need to include a lot of support code to provide the relevant syscalls and otherwise emulate the environment that the code expects. But there are plenty of examples of that at this point.

1 comments

Yeah, it's all that support code that I don't want to write. I want to (roughly) just

  tar -xf unzip.tar.gz && cd unzip
  ./configure CC=wasmcc
  make
  wasmruntime unzip.wasm testfile.zip