You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling snforge_scarb_plugin v0.35.1
Finished `release` profile [optimized] target(s) in 0.07s
Compiling test(sn_airdrops_unittest) sn_airdrops v0.1.0 (/Users/shubham/work/sn_airdrops/Scarb.toml)
error: dlopen(/Users/shubham/Library/Caches/com.swmansion.scarb/plugins/proc_macro/snforge_scarb_plugin-scarbs.xyz-9djtpev4jug5q/v0.35.1/target/release/libsnforge_scarb_plugin.dylib, 0x0005): tried: '/Users/shubham/Library/Caches/com.swmansion.scarb/plugins/proc_macro/snforge_scarb_plugin-scarbs.xyz-9djtpev4jug5q/v0.35.1/target/release/libsnforge_scarb_plugin.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/shubham/Library/Caches/com.swmansion.scarb/plugins/proc_macro/snforge_scarb_plugin-scarbs.xyz-9djtpev4jug5q/v0.35.1/target/release/libsnforge_scarb_plugin.dylib' (no such file), '/Users/shubham/Library/Caches/com.swmansion.scarb/plugins/proc_macro/snforge_scarb_plugin-scarbs.xyz-9djtpev4jug5q/v0.35.1/target/release/libsnforge_scarb_plugin.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
[ERROR] Failed to build test artifacts with Scarb: `scarb` exited with error
Problem
On
arm64
processor,snforge test
complains throughdlopen
that it needsx86_64
onarm64
processor.rustup show
output:zsh --version
outputSteps
Install asdf, scarb and starknet-foundry from the installation instructions.
Possible Solution(s)
Changing default toolchain to
stable-x86_64-apple-darwin
fixes it.Notes
No response
Version
The text was updated successfully, but these errors were encountered: