-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add flag to anchor test to invoke validator with --no-bpf-jit #970
Comments
I tried to run the test using the
Now when I run
btw, just running this on the anchor init project |
|
I was able to circumvent the problem by disabling bpf-jit in the validator. However, I'm still having trouble with |
I updated
What's the purpose of declare_id? |
Seems like the answer to this question is mostly addressed in #866 I guess the feature request here then is to allow |
I've never required that flag on an M1, it works without it. Not objecting to adding the |
No need to add this flag to anchor. Solana should disable jit automatically in newer versions. solana-labs/solana#21215 |
solana-labs/solana#21215 has been merged so Im closing this |
Getting this error when I run
anchor test
I'm on an M1 Macbook, running this in a Rosetta shell. I also installed solana from source. I believe my rust toolchain is set up correctly.
I'm not seeing anything terribly interesting in
validator.log
except the JIT panick below...but I'm new to rust.Any idea why this may be happening and where is a good place to start investigating?
The text was updated successfully, but these errors were encountered: