Skip to content

Commit f7bd48e

Browse files
author
Jorge Aparicio
committed
target.contains -> target_os ==
1 parent 7cac962 commit f7bd48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ fn main() {
221221
sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);
222222
}
223223
} else {
224-
if target_os != "freebsd" && !target.contains("netbsd") {
224+
if target_os != "freebsd" && target_os != "netbsd" {
225225
sources.extend(&["gcc_personality_v0.c"]);
226226
}
227227

0 commit comments

Comments
 (0)