To add a bit more context, I'm running the js that emcc produces within a web worker (but not using https://kripken.github.io/emscripten-site/docs/api_reference/emscripten.h.html#worker-api).
On Monday, May 2, 2016 at 10:02:36 PM UTC-7, Gareth Aye wrote: > > Hello! > > First off, thank you all for your work on emscripten -- such an awesome > and exciting tool! > > The specific issue I'm writing about has to do with emcc's --preload-file > option. My .data file gets created and I'm successfully running my > generated code in a web worker, but the data that's supposed to be injected > into MEMFS never winds up there. I can see the .data file gets fetched from > the server, but when I try FS.readFile (after Module.main has been run), I > get > > Array [ ".", "..", "tmp", "home", "dev", "proc" ] > > which doesn't include my application data. Are there size issues and/or > limits at play here? My .data file is quite large (54M). > > Anyway I'm having a lot of fun hacking around with the compiler. Great > work! > > -Gareth > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
