ci: fix minor issues
This commit is contained in:
parent
b79f31da80
commit
ede1960eef
5 changed files with 12 additions and 4 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -88,7 +88,7 @@ jobs:
|
|||
|
||||
- name: Install cross
|
||||
if: ${{ matrix.use-cross }}
|
||||
run: cargo install cross --git https://github.com/cross-rs/cross
|
||||
run: RUSTFLAGS="" cargo install cross --git https://github.com/cross-rs/cross
|
||||
|
||||
- name: Configure cross
|
||||
if: ${{ matrix.use-cross }}
|
||||
|
|
@ -138,6 +138,7 @@ jobs:
|
|||
- name: Build wasmtime library
|
||||
if: ${{ !matrix.use-cross && contains(matrix.features, 'wasm') }}
|
||||
run: |
|
||||
mkdir -p target
|
||||
WASMTIME_VERSION=$(cargo metadata --format-version=1 --locked --features wasm | \
|
||||
jq -r '.packages[] | select(.name == "wasmtime-c-api-impl") | .version')
|
||||
curl -LSs "$WASMTIME_REPO/archive/refs/tags/v${WASMTIME_VERSION}.tar.gz" | tar xzf - -C target
|
||||
|
|
@ -151,6 +152,7 @@ jobs:
|
|||
printf 'CMAKE_PREFIX_PATH=%s\n' "$PWD/artifacts" >> $GITHUB_ENV
|
||||
env:
|
||||
WASMTIME_REPO: https://github.com/bytecodealliance/wasmtime
|
||||
RUSTFLAGS: ""
|
||||
|
||||
- name: Build C library (make)
|
||||
if: ${{ runner.os != 'Windows' }}
|
||||
|
|
|
|||
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -442,9 +442,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "ctor"
|
||||
version = "0.2.8"
|
||||
version = "0.2.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "edb49164822f3ee45b17acd4a208cfc1251410cf0cad9a833234c9890774dd9f"
|
||||
checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn",
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ clap = { version = "4.5.18", features = [
|
|||
"unstable-styles",
|
||||
] }
|
||||
clap_complete = "4.5.29"
|
||||
ctor = "0.2.8"
|
||||
ctor = "0.2.9"
|
||||
ctrlc = { version = "3.4.5", features = ["termination"] }
|
||||
dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }
|
||||
dirs = "5.0.1"
|
||||
|
|
|
|||
|
|
@ -5,10 +5,12 @@ version = "0.1.2"
|
|||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
readme = "README.md"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
license.workspace = true
|
||||
keywords.workspace = true
|
||||
categories = ["api-bindings", "development-tools::ffi", "parsing"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
4
lib/language/README.md
Normal file
4
lib/language/README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Tree-sitter Language
|
||||
|
||||
This crate provides a `LanguageFn` type for grammars to create `Language` instances from a parser,
|
||||
without having to worry about the `tree-sitter` crate version not matching.
|
||||
Loading…
Add table
Add a link
Reference in a new issue