Skip to content

Commit 3df6cd4

Browse files
authored
Merge pull request #210 from YtvwlD/multiple-smbios
multiboot2: builder: Allow to specify SMBIOS tag multiple times
2 parents 01581ec + c17086c commit 3df6cd4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

multiboot2/src/builder/information.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,10 @@ impl InformationBuilder {
288288
}
289289

290290
fn tag_is_allowed_multiple_times(tag_type: TagType) -> bool {
291-
matches!(tag_type, TagType::Module | TagType::Custom(_))
291+
matches!(
292+
tag_type,
293+
TagType::Module | TagType::Smbios | TagType::Custom(_)
294+
)
292295
}
293296
}
294297

0 commit comments

Comments
 (0)