The compiler won't look for anything built as a `staticlib`. It isn't guaranteed that `staticlib`s will always have metadata, and they're only useful for the final result before putting it in an external application.