Closed zadlg closed 2 months ago
Thanks!
@JakobDegen has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
I'm not sure to understand the failure here: https://github.com/facebook/buck2/actions/runs/8187055765/job/22490706786?pr=594#step:5:3347 but I guess it's unrelated to my PR.
Make
CxxToolchainInfo.mk_comp_db
optional.According to the documentation, constructing a
CxxToolchainInfo
requires at least C/C++ compiler info along with linker info. It means thatCxxToolchainInfo.mk_comp_db
should be optional. By the way, its definition is set todefault = None
.A
None
value inCxxToolchainInfo.mk_comp_db
leads to an error:This commit fixes this small bug by allowing
None
inCxxToolchainInfo.mk_comp_db
.