]> git.lizzy.rs Git - rust.git/commit
Handle --extern-private properly on musl
authorAaron Hill <aa1ronham@gmail.com>
Sat, 13 Apr 2019 00:14:51 +0000 (20:14 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Sun, 14 Apr 2019 19:45:18 +0000 (15:45 -0400)
commit3c7c2c6ca7de0317b5852c0e77aa39a2493f2dee
treed5fd564bdb9f51ddf5f0519e94cec93c5c608ca8
parent4dfce34912f866d6fef52907f1e5c56117becf27
Handle --extern-private properly on musl

On musl (and some other platforms), compiletest ends up creating a static rlib
(instead of a dylib) when building 'aux-build' crates.

This commit changes the '--extern-private' path computed by compiletest
to properly take this into account
src/tools/compiletest/src/main.rs
src/tools/compiletest/src/runtest.rs