<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>On Wed, Mar 14, 2018, at 1:31 AM, David Major wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span class="highlight" style="background-color:transparent"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Arial"><span class="size" style="font-size:11pt">Link xul.dll in 20 seconds with this one weird trick!</span></span></span></span><br></p></div>
</blockquote><div><br></div>
<div>This is an exicting news!<br></div>
<div><br></div>
<blockquote type="cite"><div dir="ltr"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span class="highlight" style="background-color:transparent"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Arial"><span class="size" style="font-size:11pt">*** Reasons not to use clang-cl and lld-link locally (yet) ***</span></span></span></span><br></p><div><br></div>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span class="highlight" style="background-color:transparent"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Arial"><span class="size" style="font-size:11pt">- You are testing codegen-level fixes or optimizations and need to see the exact bits that will be going out to users</span></span></span></span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span class="highlight" style="background-color:transparent"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Arial"><span class="size" style="font-size:11pt">- lld-link currently doesn’t support incremental linking -- but with full linking being so fast, this might not matter</span></span></span></span><br></p></div>
</blockquote><div><br></div>
<div>Actually, when I touch Rust code and thus gkrust is rebuilt, MSVC's incremental linking doesn't seem to be very effective, and it usually takes even longer to link than a non-incremental one. As a workaround, I often remove the link result manually in that case to make things faster. Hopefully lld-link would make that part of experience much better.<br></div>
<div><br></div>
<div>- Xidorn<br></div>
</body>
</html>