@@ -10,7 +10,10 @@ edition = "2021"
1010
1111[dependencies ]
1212core = { path = " ../core" }
13- compiler_builtins = { version = " 0.1.40" , features = [' rustc-dep-of-std' ] }
13+ compiler_builtins = { version = " 0.1.112" , features = [' rustc-dep-of-std' ] }
14+
15+ [target .'cfg(not(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64")))' .dependencies ]
16+ compiler_builtins = { version = " 0.1.112" , features = [" no-f16-f128" ] }
1417
1518[dev-dependencies ]
1619rand = { version = " 0.8.5" , default-features = false , features = [" alloc" ] }
@@ -38,8 +41,8 @@ harness = false
3841compiler-builtins-mem = [' compiler_builtins/mem' ]
3942compiler-builtins-c = [" compiler_builtins/c" ]
4043compiler-builtins-no-asm = [" compiler_builtins/no-asm" ]
44+ compiler-builtins-no-f16-f128 = [" compiler_builtins/no-f16-f128" ]
4145compiler-builtins-mangled-names = [" compiler_builtins/mangled-names" ]
42- compiler-builtins-weak-intrinsics = [" compiler_builtins/weak-intrinsics" ]
4346# Make panics and failed asserts immediately abort without formatting any message
4447panic_immediate_abort = [" core/panic_immediate_abort" ]
4548# Choose algorithms that are optimized for binary size instead of runtime performance
@@ -53,3 +56,6 @@ check-cfg = [
5356 ' cfg(no_rc)' ,
5457 ' cfg(no_sync)' ,
5558]
59+
60+ [patch .crates-io ]
61+ compiler_builtins = { git = " https://github.com/tgross35/compiler-builtins.git" , rev = " e7fd5be54ae5b636d16de041e6700c80624131bf" }
0 commit comments