Skip to content

Should ignore Cargo.toml files in .git #3518

@stepancheg

Description

@stepancheg

Got an error:

STDOUT ------------------------------------------------------------------------

STDERR ------------------------------------------------------------------------
Error: Failed to splice workspace

Caused by:
    Failed to read manifest at /Users/.../.git/sl/origbackups/.../Cargo.toml

ERROR: Analysis of target '//...' failed; build aborted: error evaluating module extension crate in @@rules_rust~//crate_universe:extensions.bzl

.git/sl is a directory created by Sapling. Rust rules should not look inside .git directory.

Adding .git to .bazelignore does not help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions