-
Notifications
You must be signed in to change notification settings - Fork 558
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
add libtree_sitter_highlight #4694
add libtree_sitter_highlight #4694
Conversation
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
I am looking into the failure on windows Edit: done |
Thanks! |
@Pangoraw I was trying to build diff --git a/H/hyper/build_tarballs.jl b/H/hyper/build_tarballs.jl
index ed311fef2..e850a20b6 100644
--- a/H/hyper/build_tarballs.jl
+++ b/H/hyper/build_tarballs.jl
@@ -3,18 +3,19 @@
using BinaryBuilder
name = "hyper"
-version = v"0.14.17"
+version = v"0.14.18"
# Collection of sources required to complete build
sources = [
ArchiveSource("https://github.com/hyperium/hyper/archive/refs/tags/v$(version).tar.gz",
- "64420fd550f43af09b0722b3504d4fd919de642d63f01ad54108aa854f5f5470"),
+ "6095636d02ea5af3ff5f06d80b9466f7b58ba76339f39813b33c3f24c663fdef"),
]
# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/hyper*/
-RUSTFLAGS="--cfg hyper_unstable_ffi" cargo build --release --features client,http1,http2,ffi
+export RUSTFLAGS="--cfg hyper_unstable_ffi"
+cargo rustc --release --features client,http1,http2,ffi -- --crate-type=cdylib
install -Dm 755 target/${rust_target}/release/*hyper.${dlext} "${libdir}/libhyper.${dlext}"
""" but I get the following errors:
Do you happen to know if there is anything we can do to get around them? I tried to google a bit, but couldn't understand much |
I don't really know where they are coming from 🤔 |
The crate type is coded to be staticlib or lib but using rustc --crate-type we can create a shared library.