Skip to content

RUST_SITTER_EMIT_ARTIFACTS=true causes the build to fail #63

@Joeoc2001

Description

@Joeoc2001

When building with RUST_SITTER_EMIT_ARTIFACTS=true, the build tool panics on my machine.

error: failed to run custom build command for `rust-sitter-example v0.4.4 (~/Documents/rust-sitter/example)`

Caused by:
  process didn't exit successfully: `~/Documents/rust-sitter/target/debug/build/rust-sitter-example-3bec39671d8b9293/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=src

  --- stderr
  thread 'main' panicked at tool/src/lib.rs:62:51:
  Couldn't clear old artifacts: Os { code: 2, kind: NotFound, message: "No such file or directory" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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