Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Feature]: make `v1_resource_descriptor_support` feature additive

未关闭
#1,663 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@Javagedes 已经在做这个了。

开始于 2026年7月29日。

评估

这个 Issue 还没有评估数据。

描述

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.

主要语言
Rust
星标
544
派生
54
平均合并
1 天 9 小时
30 天内合并 PR
42

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenDevicePartnership/patina 的其他 Issue

查看 OpenDevicePartnership/patina 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。