Adjust check-cfg get_many_mut usage following API change

This commit is contained in:
Urgau 2024-10-02 09:45:27 +02:00
parent 8760a401bd
commit 37e1c955c5

View File

@ -402,18 +402,18 @@ macro_rules! ins {
// Get all values map at once otherwise it would be costly. // Get all values map at once otherwise it would be costly.
// (8 values * 220 targets ~= 1760 times, at the time of writing this comment). // (8 values * 220 targets ~= 1760 times, at the time of writing this comment).
let [ let [
values_target_abi, Some(values_target_abi),
values_target_arch, Some(values_target_arch),
values_target_endian, Some(values_target_endian),
values_target_env, Some(values_target_env),
values_target_family, Some(values_target_family),
values_target_os, Some(values_target_os),
values_target_pointer_width, Some(values_target_pointer_width),
values_target_vendor, Some(values_target_vendor),
] = self ] = self.expecteds.get_many_mut(VALUES)
.expecteds else {
.get_many_mut(VALUES) panic!("unable to get all the check-cfg values buckets");
.expect("unable to get all the check-cfg values buckets"); };
for target in TARGETS for target in TARGETS
.iter() .iter()