Skip to content

Cannot install version 0.17 with cargo install #37

Description

@Shuenhoy

cargo install gluon_language-server would run into such error:

error: environment variable `GIT_COMMIT` not defined
  --> gluon_language-server-0.17.0/src/command/initialize.rs:39:65
   |
39 |                         concat!(env!("CARGO_PKG_VERSION"), "-", env!("GIT_COMMIT")).into(),
   |                                                                 ^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

But it compiles if I run cargo build from the source dir.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions