Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Missing .rmeta for local dependency #949

@Barugon

Description

@Barugon

Here are the steps to reproduce:

  1. Clone gdal
  2. Create a new Rust project next to the gdal folder
  3. Edit the new project's Cargo.toml file to include this dependency: gdal = {path = "../gdal"}
  4. Add an import for gdal in main.rs. Example: use gdal::*;

Here's the error that I see in VSCode:
Screenshot from 2022-04-11 17-05-49

If I look in the target/rls/debug/deps folder then, sure enough, the .rmeta (and .rlib) files are missing for gdal. The project does build normally and those files are present in the target/debug/deps folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions