File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,18 @@ fn main() {
2828 println ! ( "cargo:rustc-link-search={}" , out_dir. display( ) ) ;
2929 }
3030
31+ println ! ( "cargo:rustc-check-cfg=cfg(armv6m)" ) ;
32+ println ! ( "cargo:rustc-check-cfg=cfg(armv7em)" ) ;
33+ println ! ( "cargo:rustc-check-cfg=cfg(armv7m)" ) ;
34+ println ! ( "cargo:rustc-check-cfg=cfg(armv7m)" ) ;
35+ println ! ( "cargo:rustc-check-cfg=cfg(armv8m)" ) ;
36+ println ! ( "cargo:rustc-check-cfg=cfg(armv8m)" ) ;
37+ println ! ( "cargo:rustc-check-cfg=cfg(armv8m_base)" ) ;
38+ println ! ( "cargo:rustc-check-cfg=cfg(armv8m_main)" ) ;
39+ println ! ( "cargo:rustc-check-cfg=cfg(cortex_m)" ) ;
40+ println ! ( "cargo:rustc-check-cfg=cfg(has_fpu)" ) ;
41+ println ! ( "cargo:rustc-check-cfg=cfg(native)" ) ;
42+
3143 if target. starts_with ( "thumbv6m-" ) {
3244 println ! ( "cargo:rustc-cfg=cortex_m" ) ;
3345 println ! ( "cargo:rustc-cfg=armv6m" ) ;
You can’t perform that action at this time.
0 commit comments