tianocore / edk2-pytool-extensions

Extensions to the edk2 build system allowing for a more robust and plugin based build system and tool execution environment
Other
60 stars 41 forks source link

Add Rust Environment module #848

Closed makubacki closed 4 months ago

makubacki commented 4 months ago

Adds helpers for checking if a firmare environment is ready to build Rust.

The primary purpose of the functionality in rust_environment is to be used in a build plugin wrapper. However, the public functions may be used in other contexts as well.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 86.56716% with 18 lines in your changes missing coverage. Please review.

Project coverage is 78.70%. Comparing base (bf643b0) to head (0f4f29c). Report is 82 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/848/graphs/tree.svg?width=650&height=150&src=pr&token=vVJxZexcTI&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore)](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/848?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) ```diff @@ Coverage Diff @@ ## master #848 +/- ## ========================================== - Coverage 78.75% 78.70% -0.05% ========================================== Files 49 41 -8 Lines 4909 5049 +140 ========================================== + Hits 3866 3974 +108 - Misses 1043 1075 +32 ``` | [Files](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/848?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | Coverage Δ | | |---|---|---| | [edk2toolext/environment/rust.py](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/848?src=pr&el=tree&filepath=edk2toolext%2Fenvironment%2Frust.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMnRvb2xleHQvZW52aXJvbm1lbnQvcnVzdC5weQ==) | `86.56% <86.56%> (ø)` | | ... and [49 files with indirect coverage changes](https://app.codecov.io/gh/tianocore/edk2-pytool-extensions/pull/848/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore)