<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/63207>63207</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            wasm-ld: translate -shared to -mexec-model=reactor
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          anuraaga
      </td>
    </tr>
</table>

<pre>
    This is a strawman's proposal, it's not obvious whether these two flags are equivalent, but I think in all the usages I've seen wasm-ld ignores the `-shared` flag and complains about not finding `main` until adding the exec-model. Would this translation make sense? It would make building existing projects for wasi simpler (similar intent as #62931)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEUkGPozwM_TXhYrWCUKAcOMz3jSrNfaU9G2LAOyHpxk47--9XoGrnlMh57_nl2SjCSyAaTPOfad4LzLrGNGDICXHBYozuz_BjZQEWQBBN-NwwGNsJ3FO8R0Fv7P_AepRCVIjjg2MWeK6kKyXQlYRAnxFmj4sAJgL6nfmBnoLu5DErfICuHD6BA6D3Owmy4EICH8Z2DwIhCvBE2U7eAS8hJpIDZtryJCsmcqYtjx6AwcEUt7tHDgI4xqyHtZmD47DslA057PgclD2gO-q7HH3RdNqiI3-GnzF7txsT0IRBPCrHABt-7n6CkKlv8KHwPHBHeczsDy36YtH9ck_xF00qMMe0f4BBeLt7SmDsVXhjjwk4KAUFFDC2bm1fV8b2hRtq19c9FjRU7bW1166pLsU6NNPcjZaasirn3nW2GuupmtueyslWbq4LHmxp67It-7KpquZybqybr5dL1V1d27bX0VxK2pD92fvHdo5pKVgk09DWtuwKjyN5OXbC2kBPOB6NtfuKpGHnnMa8iLmUnkXlW0VZPQ2vMZn67V9uBK8hgUY4bd8pm_o9EU4aU5GTH1bVu5j6zdibsbeFdc3jeYqbsbe9yes4vUI19nZYE2Nvh_W_AQAA__99JfGK">