Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--helix-loader/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-loader/build.rs b/helix-loader/build.rs
index a4562c00..ea068983 100644
--- a/helix-loader/build.rs
+++ b/helix-loader/build.rs
@@ -50,6 +50,7 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
+ .map(|x| x.trim().to_string())
else {
return;
};
@@ -67,6 +68,7 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
+ .map(|x| x.trim().to_string())
else {
return;
};