Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rust): access CARGO_MANIFEST_DIR at runtime in build script #3352

Merged
merged 2 commits into from
May 13, 2024

Commits on May 8, 2024

  1. fix(rust): access CARGO_MANIFEST_DIR at runtime in build script

    The `CARGO_MANIFEST_DIR` environment variable should be accessed by
    `build.rs` at run time rather than compile time. This was for example
    causing issues when importing `tree-sitter` via
    [`rules_rust`](https://github.com/bazelbuild/rules_rust) in bazel,
    where compilation and running happen in separate environments.
    redsun82 committed May 8, 2024
    Configuration menu
    Copy the full SHA
    1f5c111 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    redsun82 committed May 8, 2024
    Configuration menu
    Copy the full SHA
    b3e1dbf View commit details
    Browse the repository at this point in the history