diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-11-13 13:25:10 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2024-11-21 12:41:15 +0100 |
commit | be89d520d7e9ad6c574c259a10f282177fb5dd4a (patch) | |
tree | a914be3ca2c3e4196a97bc072e4ea2cc55962333 /runtime | |
parent | f164e1e35c4144baa55dda1120be6c75fb250c4b (diff) | |
download | rneovim-be89d520d7e9ad6c574c259a10f282177fb5dd4a.tar.gz rneovim-be89d520d7e9ad6c574c259a10f282177fb5dd4a.tar.bz2 rneovim-be89d520d7e9ad6c574c259a10f282177fb5dd4a.zip |
refactor(windows)!: only support UCRT, even for mingw
The newer UCRT runtime has native support for UTF-8, including forcing
it as the active codepage even before `main()` is called. This means
the c runtime will properly convert windows WCHAR:s into UTF-8 bytes,
as early as the argv/argc params to `main()` . Whereas MSVCRT does not
support this reliably and required us to use `wmain()`.
Only MSVC supports using manifest files directly as source files.
The solution for other Windows toolchains is to use a .rc file.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/news.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index fc714526d4..c8d0df5c96 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -45,6 +45,10 @@ API • Renamed `nvim__id_dictionary` (unsupported/experimental API) to `nvim__id_dict`. +BUILD + +On Windows, only building with the UCRT runtime is supported. + DEFAULTS • |]d-default| and |[d-default| accept a count. |