Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feature]: make `v1_resource_descriptor_support` feature additive

Đang mở
#1,663 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Javagedes đang làm issue này rồi.

Từ ngày 29/7/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

state:needs-maintainer-feedback type:feature-request urgency:medium
Feature Overview

The v1_resource_dscriptor_support feature currently swaps ResourceDescriptorV2 support for ResourceDescriptorV1 support. As the parent issue suggests, this goes against rust's rules that Features should be additive (as specified in Feature Unification.

Solution Overview

Paths to resolve this feature:

  1. If both HOBs can exist at the same time, then we should elect to always support ResourceDescritporV2 HOBs and the feature should only add support for parsing ResourceDescriptorV1 HOBs.

  2. Create a v2_resource_descriptor_support feature that is enabled by default and allow the platform to elect to enable one or the other (or both)

  3. If both HOBs cannot exist at the same time, then the feature should be completely removed, and a platform configuration should be added to decide which HOB to acknowledge.

Alternatives Considered

N/A

Urgency

Medium

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

Maintainer feedback requested

Anything else?

@os-d @makubacki for comments on solutions. I've provided three and amlooking for feedback.

Ngôn ngữ chính
Rust
Star
544
Fork
54
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
42

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenDevicePartnership/patina

Tất cả issue của OpenDevicePartnership/patina

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.