File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -141,29 +141,6 @@ mod c {
141
141
cfg. define ( "VISIBILITY_HIDDEN" , None ) ;
142
142
}
143
143
144
- // NOTE Most of the ARM intrinsics are written in assembly. Tell gcc which arch we are going
145
- // to target to make sure that the assembly implementations really work for the target. If
146
- // the implementation is not valid for the arch, then gcc will error when compiling it.
147
- if llvm_target[ 0 ] . starts_with ( "thumb" ) {
148
- cfg. flag ( "-mthumb" ) ;
149
- }
150
-
151
- if target_arch_arm && llvm_target. last ( ) == Some ( & "eabihf" ) {
152
- cfg. flag ( "-mfloat-abi=hard" ) ;
153
- }
154
-
155
- if llvm_target[ 0 ] == "thumbv6m" {
156
- cfg. flag ( "-march=armv6-m" ) ;
157
- }
158
-
159
- if llvm_target[ 0 ] == "thumbv7m" {
160
- cfg. flag ( "-march=armv7-m" ) ;
161
- }
162
-
163
- if llvm_target[ 0 ] == "thumbv7em" {
164
- cfg. flag ( "-march=armv7e-m" ) ;
165
- }
166
-
167
144
let mut sources = Sources :: new ( ) ;
168
145
sources. extend (
169
146
& [
You can’t perform that action at this time.
0 commit comments