Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BaseTools/build_rule.template: Add FILE_GUID to the environment for R…
…ust modules (#1108) ## Description This change allows Rust modules to know their own FILE_GUID using the `env!("FILE_GUID")` macro, providing a self-identification mechanism equivalent to gEfiCallerIdGuid in legacy EDK2 code. For details on how to complete to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md). - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Inserted prints containing `env!("FILE_GUID")` in multiple modules as well as a shared library crate and verified that the GUID which was printed corresponded to the correct parent module. ## Integration Instructions Can be retrieved directly in string form with `env!("FILE_GUID")` or converted to useful data with `uuid!(env!("FILE_GUID"))`
- Loading branch information