Hi Volker

Le 2023-04-01 14:51, Volker Schlecht a écrit :
Cc: Maintainer

I had a little too much time on my hands and wanted to play with the
new release of helix, so if it saves you some time, here's what I did
to get it building and running.

The diff consists mainly of cargo crates churn and updates to the
existing patches. It adds two patches to avoid a dependency on
tree-sitter on github instead of crates.inc

Builds and works beautifully on amd64.

Thanks for this update with the latest version of Helix.

Build and tests OK on current/amd64.

I modified your patch for helix-loader/build.rs (patches/patch-helix-loader_build_rs) to remove a warning during build with Rust.

Laurent


Index: helix-loader/build.rs
--- helix-loader/build.rs.orig
+++ helix-loader/build.rs
@@ -1,15 +1,9 @@
 use std::borrow::Cow;
-use std::process::Command;
 
 const VERSION: &str = include_str!("../VERSION");
 
 fn main() {
-    let git_hash = Command::new("git")
-        .args(["rev-parse", "HEAD"])
-        .output()
-        .ok()
-        .filter(|output| output.status.success())
-        .and_then(|x| String::from_utf8(x.stdout).ok());
+    let git_hash: Option<&String> = None;
 
     let version: Cow<_> = match git_hash {
         Some(git_hash) => format!("{} ({})", VERSION, &git_hash[..8]).into(),

Reply via email to