title: How to use panic=abort with external dependencies?
body: <p>For single crate projects, adding these lines to <code>Cargo.toml</code> works as expected.</p>
  
  <pre><code>[profile.release]
  panic = "abort"
  </code></pre>
  
  <p>Then build the project:</p>
  
  <pre><code>cargo build --release
  </code></pre>
  
  <hr>
  
  <p>However, on a project which has indirectly used dependencies, I'm getting an error.</p>
  
  <pre><code>    Compiling c_vec v1.0.12
  error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort`
  
  error: aborting due to previous error
  
  Build failed, waiting for other jobs to finish...
  error: Could not compile `c_vec`.
  </code></pre>
  
  <p>The <code>c_vec</code> crate is an indirectly used dependency.</p>
  
  <p>How to use <code>panic=abort</code> on a multi-crate project without conflicts?</p>
  
  <hr>
  
  <p>Details incase they matter:</p>
  
  <ul>
  <li>Rustc 1.12.0</li>
  <li>Library with issue: <a href="https://github.com/pornel/lodepng-rust">lodepng-rust</a></li>
  <li>Linux, 64bit</li>
  </ul>