File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,20 @@ jobs:
174
174
- name : Build top-level only
175
175
run : cargo build --target=thumbv6m-none-eabi --no-default-features
176
176
177
+ test-avr :
178
+ runs-on : ubuntu-latest
179
+ steps :
180
+ - uses : actions/checkout@v2
181
+ - name : Install toolchain
182
+ uses : actions-rs/toolchain@v1
183
+ with :
184
+ profile : minimal
185
+ toolchain : nightly-2021-01-07 # Pinned compiler version due to https://github.com/rust-lang/compiler-builtins/issues/400
186
+ components : rust-src
187
+ override : true
188
+ - name : Build top-level only
189
+ run : cargo build -Z build-std=core --target=avr-unknown-gnu-atmega328 --no-default-features
190
+
177
191
test-ios :
178
192
runs-on : macos-latest
179
193
steps :
Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ macro_rules! wmul_impl_usize {
138
138
}
139
139
} ;
140
140
}
141
+ #[ cfg( target_pointer_width = "16" ) ]
142
+ wmul_impl_usize ! { u16 }
141
143
#[ cfg( target_pointer_width = "32" ) ]
142
144
wmul_impl_usize ! { u32 }
143
145
#[ cfg( target_pointer_width = "64" ) ]
You can’t perform that action at this time.
0 commit comments