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

Limit type size assertion to 64bit platforms #14514

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

MichaReiser
Copy link
Member

Summary

Fix 32bit release builds by limiting the Type size assertion to 64bit architectures.

32 and 64 bit architectures have different sizes because the size of a string slice differs (because of pointer size)

@MichaReiser MichaReiser added the red-knot Multi-file analysis & type inference label Nov 21, 2024
@MichaReiser MichaReiser enabled auto-merge (squash) November 21, 2024 12:45
@MichaReiser MichaReiser changed the title Limit type size assertion to 64bit Limit type size assertion to 64bit platforms Nov 21, 2024
@MichaReiser MichaReiser merged commit 87043a2 into main Nov 21, 2024
19 checks passed
@MichaReiser MichaReiser deleted the micha/fix-32-bit-buidl branch November 21, 2024 12:49
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@sharkdp
Copy link
Contributor

sharkdp commented Nov 21, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants