Added std/oserrors for OS error reporting (#19390)

* Added 'std/oserrors' for OS error reporting

* add a simple test

* New code should not support -d:useWinAnsi anymore

thanks to @Araq
This commit is contained in:
flywind 2022-01-17 20:06:31 +08:00 • committed by GitHub
commit bc3bee5469
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 129 additions and 0 deletions

View file

@ -74,6 +74,8 @@ becomes an alias for `addr`.
for the right-hand side of type definitions in type sections. Previously
they would error with "invalid indentation".
- Added `std/oserrors` for OS error reporting.
## Compiler changes
- `nim` can now compile version 1.4.0 as follows: `nim c --lib:lib --stylecheck:off compiler/nim`,