Skip to content

Crabtime doesn't work when Cargo target directory is set to something other than the default #49

Description

@brady444

I have my target directory set to rust-target/ in .cargo/config.toml:

[build]
target-dir = "rust-target"

It seems like this breaks Crabtime. With this code:

#[crabtime::function]
fn test() {
    crabtime::output! {
        enum Test {}
    }
}

test!();

I get an error like "Path ... does not have parent 'target' directory.".

If I use the default target/ folder, then it works.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions