Replacement for WORD_SIZE in v0.6

I see a section in News.md for what has changed here, but I have scripts failing since WORD_SIZE is no longer defined. What is the replacement we should be using? Thanks.

Sys.WORD_SIZE? This change was actually introduced in Julia 0.5:
https://github.com/JuliaLang/julia/blob/3c9d75391c72d7c32eea75ff187ce77b2d5effc8/NEWS.md

2 Likes

I just ran across this, and also didn’t know how to proceed. The current deprecation warning on v0.5 doesn’t indicate the replacement:

julia> WORD_SIZE
WARNING: Base.WORD_SIZE is deprecated.
  likely near no file:0
64

and NEWS.md doesn’t mention WORD_SIZE explicitly.

(NEWS.md does actually mention WORD_SIZE explicitly… whoops!)