Alex Chiang
Alex Chiang
SiFive upstream some optimized kernels in zlib-ng. https://github.com/zlib-ng/zlib-ng/tree/develop/arch/riscv
Hi @xctan If you know that your env does not support RVV, you can try setting `WITH_RVV=OFF`. Please also check the [RAEDME](https://github.com/zlib-ng/zlib-ng/tree/develop/arch/riscv).
> ```diff > diff --git a/arch/riscv/riscv_features.c b/arch/riscv/riscv_features.c > index b066f42..259a63a 100644 > --- a/arch/riscv/riscv_features.c > +++ b/arch/riscv/riscv_features.c > @@ -42,4 +42,20 @@ void Z_INTERNAL riscv_check_features(struct riscv_cpu_features *features) { > riscv_check_features_runtime(features);...
I'm not familiar with Rust and Cargo. It will install a prebuilt version, right? Could you specify the no-RVV version in Cargo? https://github.com/starship/starship/blob/37fba4cfb706533988404255e6226f37cdab13f9/Cargo.toml#L39