File tree Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " tantivy-go"
3
- version = " 0.1 .0"
3
+ version = " 0.2 .0"
4
4
edition = " 2021"
5
5
build = " src/build.rs"
6
6
7
7
[lib ]
8
8
crate-type = [" staticlib" ]
9
9
10
10
[build-dependencies ]
11
- cbindgen = " 0.26 .0"
11
+ cbindgen = " 0.27 .0"
12
12
13
13
[dependencies ]
14
14
tantivy = " 0.22.0"
15
- cbindgen = " 0.26 .0"
15
+ cbindgen = " 0.27 .0"
16
16
log = " 0.4.21"
17
17
base64 = " 0.22.1"
18
18
env_logger = " 0.11.3"
Original file line number Diff line number Diff line change 14
14
@rustup target add x86_64-apple-darwin
15
15
@rustup target add x86_64-pc-windows-gnu
16
16
17
+ # strange SIGSEGV at higher levels of optimization
17
18
build-linux-amd64-musl :
18
- env TARGET_CC=x86_64-linux-musl-gcc cargo build --release --target x86_64-unknown-linux-musl
19
+ env TARGET_CC=x86_64-linux-musl-gcc RUSTFLAGS= ' -C opt-level=1 ' cargo build --release --target x86_64-unknown-linux-musl
19
20
20
21
install-linux-amd64-musl : build-linux-amd64-musl
21
22
@mkdir -p ../libs/linux-amd64-musl
Original file line number Diff line number Diff line change @@ -5,4 +5,3 @@ package tantivy_go
5
5
import "C"
6
6
7
7
type pointerCType = C.uint
8
- type pointerGoType = uint64
Original file line number Diff line number Diff line change @@ -5,4 +5,3 @@ package tantivy_go
5
5
import "C"
6
6
7
7
type pointerCType = C.ulong
8
- type pointerGoType = uint64
Original file line number Diff line number Diff line change @@ -5,4 +5,3 @@ package tantivy_go
5
5
import "C"
6
6
7
7
type pointerCType = C.ulonglong
8
- type pointerGoType = uint64
You can’t perform that action at this time.
0 commit comments