Skip to content

Commit 06087e6

Browse files
committed
Configure out rpath tests when not testing
1 parent 4b9e572 commit 06087e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/back/rpath.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ fn minimize_rpaths(rpaths: [str]) -> [str] {
183183

184184
#[cfg(target_os = "linux")]
185185
#[cfg(target_os = "macos")]
186+
#[cfg(test)]
186187
mod test {
187188
#[test]
188189
fn test_rpaths_to_flags() {

0 commit comments

Comments
 (0)