Add Patina Config Enforcement#1324
Draft
os-d wants to merge 1 commit intoOpenDevicePartnership:mainfrom
Draft
Conversation
5 tasks
joschock
reviewed
Feb 17, 2026
joschock
reviewed
Feb 17, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
cfernald
reviewed
Feb 17, 2026
makubacki
reviewed
Feb 18, 2026
cfernald
reviewed
Feb 18, 2026
Per RFC 25, this patch adds config.toml enforcement of the Patina config version. config.toml is updated to reflect the various settings Patina wants to use. Each is documented on why. build.rs verifies the patina config version is the correct one and will fail the build if not. Docs are updated. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
os-d
commented
Feb 24, 2026
| serde_json = { version = "1.0", default-features = false, features = ["alloc"] } | ||
| lzma-rs = { version = "0.3" } | ||
|
|
||
| [profile.release] |
Contributor
Author
There was a problem hiding this comment.
Note, this part will go in the file sync PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Per RFC 25, this patch adds config.toml enforcement of the Patina config version.
config.toml is updated to reflect the various settings Patina wants to use. Each is documented on why.
build.rs verifies the patina config version is the correct one and will fail the build if not.
Docs are updated.
Note: This is in draft form as a companion to the RFC. When the RFC is completed, this will be published, the config.toml changes will go to patina-devops and the build.rs/doc changes will target the
majorbranch.How This Was Tested
Tested building Q35 and SBSA and booting them to Windows. Settings were validated in build.rs and by outside factors such as binary size.
Integration Instructions
Patina's
.cargo/config.tomlmust be copied to the platform's.cargo/config.toml. See the docs for more details.