Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
igvm_c: Fix linker issues with sample and tests and clean up output (#31
) It was reported on coconut-svsm/svsm#237 that on certain environments, the C unit tests and sample fail to build due to missing library dependencies. Also, the status of the build is hard to determine due to the amount of warnings generated by cbindgen. See the comment thread in that PR from @cclaudio. The required list of libraries can be determined with the following command: ``` cargo rustc --verbose --features "igvm-c" --manifest-path=igvm/Cargo.toml -- --print=native-static-libs ``` This PR updates the Makefile to reflect the output of this command. In addition, the cbindgen `-q` flag is used to suppress warnings - it would be good to fix the warnings but this would require the generation of redundant additional output in the header files which is not ideal. Finally, add a section to the README to describe how to install the library. --------- Signed-off-by: Roy Hopkins <[email protected]> Co-authored-by: Chris Oo <[email protected]>
- Loading branch information