fix: rust: accept undefined subsystemInfo

This commit is contained in:
DavHau 2022-12-07 17:36:53 +07:00
parent 9891508cdd
commit da780c7cdd

View File

@ -29,7 +29,7 @@ in {
projectTree = rootTree.getNodeFromPath project.relPath;
rootSource = rootTree.fullPath;
projectSource = dlib.sanitizePath "${rootSource}/${project.relPath}";
subsystemInfo = project.subsystemInfo;
subsystemInfo = project.subsystemInfo or {};
# Get the root toml
rootToml = {