filecoin-project / filecoin-ffi

C and CGO bindings for Filecoin's Rust libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Problem Of The CPU Features

ryderkun opened this issue · comments

if [ -n "${__features##*${x}*}" ]; then

There is a problem with the judgment here. If there is "tpr_shadow" in the CPU Flags, then according to this judgment, deleting the left and right strings will also be "sha", then optimized will be true, but this is the Intel CPU.

I can solve this problem by pulling request

commented

See #132

commented

Resolved with #132