wasi: clean up linking logic

Do not try to link WASI libc or emulated subcomponents when not
targeting WASI; e.g., when targeting `wasm32-freestanding`.
dd84ccda5dJakub Konka committed on 6/8/2021, 11:25:38 PMparent95745f7
1 file changedLine totals unavailable