diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-05-28 18:15:41 +0000 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2025-05-29 15:38:10 +0000 |
| commit | 97c0bebdf7094434c0fb2f941d7136c9c3ade986 (patch) | |
| tree | 58edb05dcd119e2d46ceddd57fc290a25bb087a7 | |
| parent | 877feef541542972f1bfeefe14624a17f23cef8d (diff) | |
| download | rust-97c0bebdf7094434c0fb2f941d7136c9c3ade986.tar.gz rust-97c0bebdf7094434c0fb2f941d7136c9c3ade986.zip | |
Remove unneeded C symbols
These are now provided by `compiler-builtins`, so there is no need to also build the C versions. This was detected by checking for duplicate symbols and not excluding weak symbols (like CI currently does).
| -rw-r--r-- | library/compiler-builtins/compiler-builtins/build.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/compiler-builtins/compiler-builtins/build.rs b/library/compiler-builtins/compiler-builtins/build.rs index 90d98ec7ce9..d37fdc5df50 100644 --- a/library/compiler-builtins/compiler-builtins/build.rs +++ b/library/compiler-builtins/compiler-builtins/build.rs @@ -555,7 +555,6 @@ mod c { if (target.arch == "aarch64" || target.arch == "arm64ec") && consider_float_intrinsics { sources.extend(&[ - ("__comparetf2", "comparetf2.c"), ("__fe_getround", "fp_mode.c"), ("__fe_raise_inexact", "fp_mode.c"), ]); @@ -570,11 +569,11 @@ mod c { } if target.arch == "mips64" { - sources.extend(&[("__netf2", "comparetf2.c"), ("__fe_getround", "fp_mode.c")]); + sources.extend(&[("__fe_getround", "fp_mode.c")]); } if target.arch == "loongarch64" { - sources.extend(&[("__netf2", "comparetf2.c"), ("__fe_getround", "fp_mode.c")]); + sources.extend(&[("__fe_getround", "fp_mode.c")]); } // Remove the assembly implementations that won't compile for the target |
