Skip to content
  • Ben Gamari's avatar
    base: Ensure that encoding global variables aren't inlined · 95bccdd0
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    As noted in #17970, these (e.g. `getFileSystemEncoding` and
    `setFileSystemEncoding`) previously had unfoldings, which would
    break their global-ness.
    
    While not strictly necessary, I also add a NOINLINE on
    `initLocaleEncoding` since it is used in `System.IO`, ensuring that we
    only system's query the locale encoding once.
    
    Fixes #17970.
    95bccdd0