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

Use arch-independent magic number as start seed for Preferences hash #39274

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

staticfloat
Copy link
Sponsor Member

Preferences.jl is currently broken on 32-bit because hashing natively
uses UInt32's instead of UInt64's. We allow Preferences.jl to
polymorph to whichever it requires here, while eliminating a confusing
large constant and simply starting from zero.

`Preferences.jl` is currently broken on 32-bit because hashing natively
uses `UInt32`'s instead of `UInt64`'s.  We allow `Preferences.jl` to
polymorph to whichever it requires here, while eliminating a confusing
large constant and simply starting from zero.
@staticfloat staticfloat added the backport 1.6 Change should be backported to release-1.6 label Jan 15, 2021
@staticfloat staticfloat merged commit 7647ab5 into master Jan 15, 2021
@staticfloat staticfloat deleted the sf/32bit_preferences_hashing branch January 15, 2021 22:52
@KristofferC KristofferC mentioned this pull request Jan 19, 2021
60 tasks
KristofferC pushed a commit that referenced this pull request Jan 19, 2021
…39274)

`Preferences.jl` is currently broken on 32-bit because hashing natively
uses `UInt32`'s instead of `UInt64`'s.  We allow `Preferences.jl` to
polymorph to whichever it requires here, while eliminating a confusing
large constant and simply starting from zero.

(cherry picked from commit 7647ab5)
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Feb 1, 2021
KristofferC pushed a commit that referenced this pull request Feb 1, 2021
…39274)

`Preferences.jl` is currently broken on 32-bit because hashing natively
uses `UInt32`'s instead of `UInt64`'s.  We allow `Preferences.jl` to
polymorph to whichever it requires here, while eliminating a confusing
large constant and simply starting from zero.

(cherry picked from commit 7647ab5)
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
…uliaLang#39274)

`Preferences.jl` is currently broken on 32-bit because hashing natively
uses `UInt32`'s instead of `UInt64`'s.  We allow `Preferences.jl` to
polymorph to whichever it requires here, while eliminating a confusing
large constant and simply starting from zero.
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
…uliaLang#39274)

`Preferences.jl` is currently broken on 32-bit because hashing natively
uses `UInt32`'s instead of `UInt64`'s.  We allow `Preferences.jl` to
polymorph to whichever it requires here, while eliminating a confusing
large constant and simply starting from zero.
staticfloat added a commit that referenced this pull request Dec 23, 2022
…39274)

`Preferences.jl` is currently broken on 32-bit because hashing natively
uses `UInt32`'s instead of `UInt64`'s.  We allow `Preferences.jl` to
polymorph to whichever it requires here, while eliminating a confusing
large constant and simply starting from zero.

(cherry picked from commit 7647ab5)
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.

3 participants