-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Process Being Killed in Release Mode in MacOS Sequoia 15.0.1 on my M2 Mac #132068
Comments
That's not the error, the error is what comes after that, which might be a lot of text. Can you share all of it? You can upload text files to GitHub issues, which is probably useful for such errors. |
Sorry for not being clear here:
It does a sigkill which is essentially what is happening to all the code I've shown above when running in release mode. |
Can you try on 1.83 beta? This looks like an issue with |
All examples above work using |
So it seems you have a buggy #130781 would also fix it when 1.83 is released at the end of next month, as shown by the issue not being present on nightly or beta. (Even setting In the mean time, I'll close this as a duplicate of #110536 that's already fixed. Feel free to reopen if that's not the case. Thanks for opening an issue! |
When attempting to run the very simple program in release mode below. I get the following error:
error: failed to run custom build command for `libc v0.2.161
When omitting libc from the dependency and run it just using the standard library I get the process being killed upon running in release mode:
zsh: killed cargo run --release
Note that both these programs work as intented in debug mode and even on release mode in nightly (tested on 2024-10-07).
Finally as a last example I'm getting a killed process from this program in release mode as well:
This is occurring on rustc stable version 1.82 and also on the previous 1.81 version. I am using a base 16 inch m2 macbook pro running on MacOS Sequoia 15.0.1. I have tried reproducing the bug on my linux machine but the process being killed only occurs on my mac.
The text was updated successfully, but these errors were encountered: