cross compilation targetting windows now supports nim r: nim r -d:mingw main (#18682)
* cross compilation targetting windows now supports `nim r`: `nim r -d:mingw main`
* quoteShell
* address comment: remove `conf.getConfigVar("nimrun.exe")`
This commit is contained in:
parent
b3e077863a
commit
1acba63cb7
3 changed files with 20 additions and 5 deletions
|
|
@ -482,6 +482,9 @@
|
|||
nim r main # uses cached binary
|
||||
nim r main arg1 arg2 # ditto (runtime arguments are irrelevant)
|
||||
|
||||
- `nim r` now supports cross compilation from unix to windows when specifying `-d:mingw` by using wine,
|
||||
e.g.: `nim r --eval:'import os; echo "a" / "b"'` prints `a\b`
|
||||
|
||||
- The style checking of the compiler now supports a `--styleCheck:usages` switch. This switch
|
||||
enforces that every symbol is written as it was declared, not enforcing
|
||||
the official Nim style guide. To be enabled, this has to be combined either
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue