Skip to content

Commit d5e49b8

Browse files
committed
multiboot2: builder: Allow to specify SMBIOS tag multiple times
1 parent c2275f4 commit d5e49b8

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)