Skip to content
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

remove #[no_mangle] from panic handler #500

Merged
merged 5 commits into from
Mar 24, 2025
Merged

Conversation

Freax13
Copy link
Member

@Freax13 Freax13 commented Mar 22, 2025

A recent change on rustc nightly broke panic handlers that also have the #[no_mangle] attribute. I don't know whether this is something that they want to support and if they'll fix that, but either way I don't think there's a strong reason to keep this, so let's just remove it. It looks like they don't consider this to be a bug. Let's just remove it.

Closes #499

A recent change on rustc nightly broke panic handlers that also have
the #[no_mangle] attribute. It looks like they don't consider this to
be a bug. Let's just remove it.
@Freax13 Freax13 linked an issue Mar 22, 2025 that may be closed by this pull request
@Freax13 Freax13 force-pushed the fix/panic-linker-error branch from 70fc315 to 050fde2 Compare March 22, 2025 06:50
@Freax13 Freax13 requested a review from phil-opp March 22, 2025 06:57
@phil-opp
Copy link
Member

Thanks a lot for looking into this!

@phil-opp phil-opp merged commit 0cae0f2 into v0.9-base Mar 24, 2025
7 checks passed
@phil-opp phil-opp deleted the fix/panic-linker-error branch March 24, 2025 09:56
@phil-opp
Copy link
Member

Published as v0.9.31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to compile bin bootloader due to error from rust-lld
2 participants