Sam Clegg
Sam Clegg
We could consider ways to make the automatic running of wasm-opt optional, or add extra flags, but I also think we might get push back if we try to add...
What flags did you pass when running `wasm-ld` (can you run clang with `-v` so it prints the full link command)? Its possible the features section is not being generated...
Its the clang driver, when running in link mode, that runs wasm-opt. However, the clang driver doesn't actually know about the features used since they could be embedded in object...
Out of interest, how to the file sizes compare for you optimized and non-optimized builds? If wasm-opt doesn't give a win in either size or performance that would be very...
The features section mostly exists tools further down the pipeline to read (e.g. wasm-opt). I don't know of any other reason to keep it around... I guess a node runtime...
Not really.. the stripping is part of the linking process. Is `--detect-features` deprecated in wasm-opt? Why?
I guess the clang driver could inject some kind of `--no-strip-features` flag to wasm-ld if it knows its going to run wasm-opt after.
> > Not really.. the stripping is part of the linking process. > > Is `--detect-features` deprecated in wasm-opt? Why? > > Because all it used to do was read...
Do you know who is running `nm` there? If normal GNU nm tool doesn't works with emscripten since we use wasm object files which GNU tools can't parse.. You would...
Somewhere in your build system `nm` is being run directly. `emcmake` is setting `$NM` to point to `llvm-nm`, but if your build system doesn't honor this environment variable and just...