File tree 1 file changed +12
-12
lines changed
compiler/rustc_session/src/config
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -402,18 +402,18 @@ impl CheckCfg {
402
402
// Get all values map at once otherwise it would be costly.
403
403
// (8 values * 220 targets ~= 1760 times, at the time of writing this comment).
404
404
let [
405
- values_target_abi,
406
- values_target_arch,
407
- values_target_endian,
408
- values_target_env,
409
- values_target_family,
410
- values_target_os,
411
- values_target_pointer_width,
412
- values_target_vendor,
413
- ] = self
414
- . expecteds
415
- . get_many_mut ( VALUES )
416
- . expect ( "unable to get all the check-cfg values buckets" ) ;
405
+ Some ( values_target_abi) ,
406
+ Some ( values_target_arch) ,
407
+ Some ( values_target_endian) ,
408
+ Some ( values_target_env) ,
409
+ Some ( values_target_family) ,
410
+ Some ( values_target_os) ,
411
+ Some ( values_target_pointer_width) ,
412
+ Some ( values_target_vendor) ,
413
+ ] = self . expecteds . get_many_mut ( VALUES )
414
+ else {
415
+ panic ! ( "unable to get all the check-cfg values buckets" ) ;
416
+ } ;
417
417
418
418
for target in TARGETS
419
419
. iter ( )
You can’t perform that action at this time.
0 commit comments