Skip to content

Commit bf37032

Browse files
committed
Fix symbol collision caused by floatdisf
[PR #234](#234) added floatdisf implementation in rust and removed floatdisf.c from build.rs. However the removal is in-complete. In x86_64+!msvc environment, the symbol floatdisf would be generated twice. Bugs found in Redox OS issue [#1195](https://gitlab.redox-os.org/redox-os/redox/issues/1195) and Mesalink travis [log](https://travis-ci.org/mesalock-linux/mesalink/jobs/412928048) at line 738. This patch fixes it by removing floatdisf.c from this environment. Signed-off-by: Yu Ding <[email protected]>
1 parent 5a7b58f commit bf37032

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ mod c {
267267
if target_arch == "x86_64" {
268268
sources.extend(
269269
&[
270-
"x86_64/floatdisf.c",
271270
"x86_64/floatdixf.c",
272271
"x86_64/floatundidf.S",
273272
"x86_64/floatundisf.S",

0 commit comments

Comments
 (0)