messense

Results 496 comments of messense
trafficstars

@wangxiaoying Try add `manylinux: 2014` option to `maturin-action`.

This is harder than we thought since you have system dependencies which aren't present in maturin-action's cross compilation docker images(they are based on Ubuntu 20.04). https://github.com/sfu-db/connector-x/blob/fd7a61d910110310d521df66e90f0465942ccd2e/.github/workflows/release.yml#L46 And https://github.com/sfu-db/connector-x/blob/fd7a61d910110310d521df66e90f0465942ccd2e/.github/workflows/release.yml#L12 forces x86_64...

For now the easiest way forward is to use a CI with native ARM support for example https://www.drone.io/ https://docs.drone.io/pipeline/docker/syntax/platform/

Done in https://github.com/Homebrew/homebrew-core/pull/109558

Duplicate of https://github.com/messense/jieba-rs/issues/24

> Hey @JmPotato, what version of cargo, rustc are you running? `split-debuginfo='...'` is specified in the [documentation](https://doc.rust-lang.org/cargo/reference/profiles.html) so it must work fine I think you may have misunderstood that `split-debuginfo...

Is `remove_dir_all` still needed? Cargo recently removed it and `std::fs::remove_dir_all` shows better performance: https://github.com/rust-lang/cargo/pull/11333

FYI, I've added UniFFI bindings support in maturin v0.14: https://github.com/PyO3/maturin/pull/1275. For setuptools-rust you can already wrap UniFFI bindings via `NoBinding`, for example https://github.com/bitcoindevkit/bdk-ffi/blob/3edda27ef25a254b9bce977ea79500e57dfcecf0/bdk-python/setup.py#L54-L58