Closed foersleo closed 2 months ago
Adjusted the code to what I hope is a bit cleaner. The library now optionally accepts a time to the generate_build_info
macro and produce the appropriate build metadata with the override.
The main plumbing is done in the CLI, with an example implementation in https://github.com/foersleo/aws-nitro-enclaves-cli/commits/test_cli/
Issue #, if available: #21
Description of changes:
Testing done:
I have built a aws-nitro-enclaves-cli with the dependencies pointing to the feature branch and some basic plumbing to expose the override functionality as a command line argument
override_time
(See https://github.com/foersleo/aws-nitro-enclaves-cli/commits/test_cli/).With that CLI I built the hello example EIF in three scenarios, and checking the build time that ended up in the file:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.