astral-sh / ruff

An extremely fast Python linter and code formatter, written in Rust.
https://docs.astral.sh/ruff
MIT License
33.1k stars 1.11k forks source link

Limit type size assertion to 64bit platforms #14514

Closed MichaReiser closed 4 days ago

MichaReiser commented 4 days ago

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)

github-actions[bot] commented 4 days ago

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

sharkdp commented 4 days ago

Thanks