<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - wasm-ld: Support @file arguments to subvert long argument lists on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=37620">37620</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>wasm-ld: Support @file arguments to subvert long argument lists on Windows
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alex@crichton.co
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, sbc@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>The GNU linker and MSVC both support invocations like `linker @foo` where `foo`
is a file that has more arguments for the linker. This is quite useful on
Windows where the limits on the length of the command line can be relatively
small for large-ish programs.
This was originally reported in Rust at
<a href="https://github.com/rust-lang-nursery/rust-wasm/issues/184">https://github.com/rust-lang-nursery/rust-wasm/issues/184</a> but currently wasm-ld
doesn't support the `@` syntax. The Rust compiler will automatically switch to
`@` syntax whenever it thinks the command line we're sending to the linker is
too long (assuming that all linkers support it, wrongfully so in this case).
Would it be possible to add support to wasm-ld for @-files to subvert this
restriction on Windows?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>