Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
Freax13 merged 1 commit into rust-osdev:main from OmegaMetor:main
Jul 31, 2025

Conversation

Copy link
Contributor

@OmegaMetor OmegaMetor commented Jul 31, 2025

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.

mspi21 reacted with thumbs up emoji
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
Copy link
Member

Freax13 commented Jul 31, 2025

I'll start a new release.

mspi21 reacted with heart emoji

@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
Reviewers

@Freax13 Freax13 Freax13 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /