File tree Expand file tree Collapse file tree 2 files changed +1
-78
lines changed Expand file tree Collapse file tree 2 files changed +1
-78
lines changed Original file line number Diff line number Diff line change @@ -326,6 +326,7 @@ $(objtree)/rust/kernel.o: $(srctree)/rust/kernel/lib.rs $(objtree)/rust/alloc.o
326
326
# Targets that need to expand twice
327
327
.SECONDEXPANSION :
328
328
$(objtree ) /rust/core.o : private skip_clippy = 1
329
+ $(objtree ) /rust/core.o : private rustc_target_flags = --cfg no_fp_fmt_parse
329
330
$(objtree ) /rust/core.o : $$(RUST_LIB_SRC ) /core/src/lib.rs FORCE
330
331
$(call if_changed_dep,rustc_library)
331
332
Original file line number Diff line number Diff line change @@ -36,84 +36,6 @@ macro_rules! define_panicking_intrinsics(
36
36
}
37
37
) ;
38
38
39
- define_panicking_intrinsics ! ( "`f32` should not be used" , {
40
- __addsf3,
41
- __addsf3vfp,
42
- __aeabi_fcmpeq,
43
- __aeabi_ul2f,
44
- __divsf3,
45
- __divsf3vfp,
46
- __eqsf2,
47
- __eqsf2vfp,
48
- __fixsfdi,
49
- __fixsfsi,
50
- __fixsfti,
51
- __fixunssfdi,
52
- __fixunssfsi,
53
- __fixunssfti,
54
- __floatdisf,
55
- __floatsisf,
56
- __floattisf,
57
- __floatundisf,
58
- __floatunsisf,
59
- __floatuntisf,
60
- __gesf2,
61
- __gesf2vfp,
62
- __gtsf2,
63
- __gtsf2vfp,
64
- __lesf2,
65
- __lesf2vfp,
66
- __ltsf2,
67
- __ltsf2vfp,
68
- __mulsf3,
69
- __mulsf3vfp,
70
- __nesf2,
71
- __nesf2vfp,
72
- __powisf2,
73
- __subsf3,
74
- __subsf3vfp,
75
- __unordsf2,
76
- } ) ;
77
-
78
- define_panicking_intrinsics ! ( "`f64` should not be used" , {
79
- __adddf3,
80
- __adddf3vfp,
81
- __aeabi_dcmpeq,
82
- __aeabi_ul2d,
83
- __divdf3,
84
- __divdf3vfp,
85
- __eqdf2,
86
- __eqdf2vfp,
87
- __fixdfdi,
88
- __fixdfsi,
89
- __fixdfti,
90
- __fixunsdfdi,
91
- __fixunsdfsi,
92
- __fixunsdfti,
93
- __floatdidf,
94
- __floatsidf,
95
- __floattidf,
96
- __floatundidf,
97
- __floatunsidf,
98
- __floatuntidf,
99
- __gedf2,
100
- __gedf2vfp,
101
- __gtdf2,
102
- __gtdf2vfp,
103
- __ledf2,
104
- __ledf2vfp,
105
- __ltdf2,
106
- __ltdf2vfp,
107
- __muldf3,
108
- __muldf3vfp,
109
- __nedf2,
110
- __nedf2vfp,
111
- __powidf2,
112
- __subdf3,
113
- __subdf3vfp,
114
- __unorddf2,
115
- } ) ;
116
-
117
39
define_panicking_intrinsics ! ( "`i128` should not be used" , {
118
40
__ashrti3,
119
41
__muloti4,
You can’t perform that action at this time.
0 commit comments