File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ These builtins are never called by LLVM.
306
306
- ~~ ctzdi2.c~~
307
307
- ~~ ctzsi2.c~~
308
308
- ~~ ctzti2.c~~
309
- - ~~ ffsdi2.c~~
309
+ - ~~ ffsdi2.c~~ - this is [ called by gcc ] [ jemalloc-fail ] though!
310
310
- ~~ ffsti2.c~~
311
311
- ~~ mulvdi3.c~~
312
312
- ~~ mulvsi3.c~~
@@ -333,6 +333,8 @@ These builtins are never called by LLVM.
333
333
- ~~ ucmpti2.c~~
334
334
- ~~ udivmodti4.c~~
335
335
336
+ [ jemalloc-fail ] : https://travis-ci.org/rust-lang/rust/jobs/249772758
337
+
336
338
Rust only exposes atomic types on platforms that support them, and therefore does not need to fall back to software implementations.
337
339
338
340
- ~~ arm/sync_fetch_and_add_4.S~~
Original file line number Diff line number Diff line change @@ -4095,6 +4095,16 @@ mod c {
4095
4095
] ,
4096
4096
) ;
4097
4097
4098
+ // When compiling in rustbuild (the rust-lang/rust repo) this library
4099
+ // also needs to satisfy intrinsics that jemalloc or C in general may
4100
+ // need, so include a few more that aren't typically needed by
4101
+ // LLVM/Rust.
4102
+ if env:: var_os ( "CARGO_FEATURE_RUSTBUILD" ) . is_some ( ) {
4103
+ sources. exend ( & [
4104
+ "ffsdi2.c" ,
4105
+ ] ) ;
4106
+ }
4107
+
4098
4108
if target_os != "ios" {
4099
4109
sources. extend (
4100
4110
& [
You can’t perform that action at this time.
0 commit comments