matter-labs / zksync-era

zkSync era
Apache License 2.0
3.09k stars 2.07k forks source link

Feature "Platform-intrinsic" which is used in packed_simd has been removed/depreciated #1700

Open jeantess1 opened 6 months ago

jeantess1 commented 6 months ago

🐛 Bug Report

image

📝 Description

Feature "Platform-intrinsic" which is used in packed_simd has been removed/depreciated and it cause a crash during the cargo build for this project.

🔄 Reproduction Steps

install rust : curl https://sh.rustup.rs -sSf | sh

clone repo zk

export path

rustup install nightly (pour pouvoir utiliser les feature (=librairies en beta))

rustup override set nightly

cargo install sqlx-cli --version 0.7.3

zk stack demo

🤔 Expected Behavior

expected to build

😯 Current Behavior

Crash during the build of Packed_simd

🖥️ Environment

Ubuntu. rust toolchain nightly1.79.0

📋 Additional Context

Add any other context about the problem here. If applicable, add screenshots to help explain.

📎 Log Output

error[E0703]: invalid ABI: found platform-intrinsic --> /home/jtsd/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd-0.3.9/src/codegen/llvm.rs:72:8 | 72 | extern "platform-intrinsic" { | ^^^^^^^^^^^^^^^^^^^^ invalid ABI

EmilLuta commented 5 months ago

This will be rather difficult to troubleshoot without adding more information on what you ran. A set of commands would help.