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

Teach internal printf about 'z' #78685

Merged

Conversation

AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Nov 22, 2022

Fixes #78623

Caused by #78434

In a previous PR, an attempt was made to remove
most Windows specific format flags. However, the
internal printf version we are using doesn't know
about the 'z' flag. In order to transition to the correct
flags, so we can remove our printf, we need to teach
our printf about modern flags.

/cc @markples @janvorli

In a previous PR, an attempt was made to remove
most Windows specific format flags. However, the
internal printf version we are using doesn't know
about the 'z' flag. In order to transition to the correct
flags so we can remove our printf, we need to teach
our printf about modern flags.
Copy link
Member

@jakobbotsch jakobbotsch left a comment

Choose a reason for hiding this comment

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

Interesting, I guess this means the places we have in the JIT that were using %z were broken on non-Windows (there's a handful of those)

@AaronRobinsonMSFT
Copy link
Member Author

Failure is #78718

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 045d928 into dotnet:main Nov 22, 2022
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the add_z_support_toprintf branch November 22, 2022 21:25
@ghost ghost locked as resolved and limited conversation to collaborators Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure JIT/Directed/nullabletypes/isinst_do/isinst_do.sh
3 participants