Skip to content

Fixes the type of target-c-int-width in target jsons. #509

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

Merged
merged 1 commit into from
Jul 31, 2025

Conversation

OmegaMetor
Copy link
Contributor

In rust-lang/rust#144218, the type of target-c-int-width was changed to an Option, when previously it could be parsed from a string.
That change caused an error "error: error loading target specification: target-c-int-width: invalid type: string "32", expected u16 at line 13 column 27"
This pr is meant to fix that, by changing the value in the jsons from "32" to 32.

In rust-lang/rust#144218, the type of target-c-int-width was changed to an Option<u16>, when previously it could be parsed from a string.
That change caused an error "error: error loading target specification: target-c-int-width: invalid type: string "32", expected u16 at line 13 column 27"
This pr is meant to fix that.
Copy link
Member

@Freax13 Freax13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

LGTM :shipit:

@Freax13 Freax13 merged commit 4d97d35 into rust-osdev:main Jul 31, 2025
7 of 8 checks passed
@Freax13
Copy link
Member

Freax13 commented Jul 31, 2025

I'll start a new release.

@Freax13 Freax13 mentioned this pull request Jul 31, 2025
Freax13 added a commit that referenced this pull request Jul 31, 2025
Newer rustc versions require this value to be an integer.

For more information see #509.
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.

2 participants