summary refs log tree commit diff stats
path: root/compiler/nim.cfg
Commit message (Collapse)AuthorAgeFilesLines
* fixes #19162; enable `strictEffects` for v2 (#19380)ringabout2022-10-151-5/+0
| | | | | | | | | | | | | | | | | | | * enable stricteffects * add gcsafe * fix tests * use func * fixes pegs tests * explicitly mark repr related procs with noSideEffect * add nimLegacyEffects * change URL * fixes docopt * add `raises: []` to repr * fixes weave * fixes nimyaml * fixes glob * fixes parsetoml * Apply suggestions from code review * Update testament/important_packages.nim * add legacy:laxEffects
* Make rstgen work with gcsafe (#20534)ringabout2022-10-101-0/+4
| | | | | | | | | | | * Make rstgen work with gcsafe Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * add tests and fixes * if nimHasWarningAsError Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* add default field support for object in ARC/ORC (#20480)ringabout2022-10-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fresh start * add cpp target * add result support * add nimPreviewRangeDefault * reduce * use orc * refactor common parts * add tuple support * add testcase for tuple * cleanup; fixes nimsuggest tests * there is something wrong with cpp * remove * add support for seqs * fixes style * addd initial distinct support * remove links * typo * fixes tuple defaults * add rangedefault * add cpp support * fixes one more bugs * add more hasDefaults * fixes ordinal types * add testcase for #16744 * add testcase for #3608 * fixes docgen * small fix * recursive * fixes * cleanup and remove tuple support * fixes nimsuggest * fixes generics procs * refactor * increases timeout * refactor hasDefault * zero default; disable i386 * add tuples back * fixes bugs * fixes tuple * add more tests * fix one more bug regarding tuples * more tests and cleanup * remove messy distinct types which must be initialized by original types * add tests * fixes zero default * fixes grammar * fixes tests * fixes tests * fixes tests * fixes comments * fixes and add testcase * undo default values for results Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* disable threads when booting the compiler (#20478)ringabout2022-10-021-0/+1
|
* koch boot compiler with orc (#20467)ringabout2022-09-301-1/+0
| | | | | | | | | | | * koch boot compiler with orc * use orc * workaround bugs * move it * move the data
* continue booting the compiler with refc (#20421)ringabout2022-09-241-0/+1
| | | | | | | * continue boot the compiler with refc * koch * use `gc:refc`
* fixes #19713; Revert "Remove tlsEmulation enabled from Windows + GCC config" ↵ringabout2022-09-191-0/+1
| | | | | | | | | | | | | | | (#19119) (#20327) * Revert "Remove tlsEmulation enabled from Windows + GCC config (#19119) [backport:1.6]" This reverts commit 77b696c2c92b5f478526290c5e184a4c41060f7b. * increase nimTlsSize to 48000 * enable for windows * fixes tests * fixes tlsEmulation:on
* bootstrap the compiler with nimPreviewSlimSystem (#20176)ringabout2022-08-091-0/+1
| | | | | * bootstrap the compiler with nimPreviewSlimSystem * threads
* [backport] use old style hints in .cfg files (#18917)Miran2021-09-291-2/+2
| | | refs #18085
* strict effects (#18777)Andreas Rumpf2021-09-021-0/+5
| | | | | | | | | | | | | | | | | * fixes #17369 * megatest is green for --cpu:arm64 * docgen output includes more tags/raises * implemented 'effectsOf' * algorithm.nim: uses new effectsOf annotation * closes #18376 * closes #17475 * closes #13905 * allow effectsOf: [a, b] * added a test case * parameters that are not ours cannot be declared as .effectsOf * documentation * manual: added the 'sort' example * bootstrap with the new better options
* rename nimFpRoundtrips => nimPreviewFloatRoundtrip (#18566)Timothee Cour2021-07-231-1/+1
|
* make -d:nimFpRoundtrips work consistently in vm vs rt, fix #18400, etc (#18531)Timothee Cour2021-07-201-0/+1
| | | | | | * compiler/vmhooks: add getVar to allow vmops with var params * addFloat vmops with var param * cgen now renders float32 literals in c backend using roundtrip float to string
* change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) ↵Timothee Cour2021-05-261-2/+2
| | | | (#18085)
* IC: bugfixes (WIP) (#16836)Andreas Rumpf2021-02-021-3/+1
| | | | | | | | * minor improvements * IC: added the required logic for compilerProcs * LazySym ftw * we need this testing logic * reimplement the old way we use for module package creation * fixes a regression; don't pick module names if you can avoid it
* remove nim.cfg file change lefover [backport:1.2] (#15469)Andreas Rumpf2020-10-021-6/+0
|
* closureiters: fixes #15243 (#15454) [backport:1.2]Andreas Rumpf2020-10-021-0/+7
| | | | * fixes #15243 [backport:1.2]
* init checks and 'out' parameters (#14521)Andreas Rumpf2020-06-231-0/+4
| | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog
* Only print the link command when listCmd is active; fix docs (#13603)Clyybber2020-03-071-1/+0
|
* make case-object transitions explicit, make unknownLineInfo a const, replace ↵Jasper Jenkins2020-01-171-5/+0
| | | | a few magic numbers with consts (#13170)
* more arc features (#13098)Andreas Rumpf2020-01-101-0/+1
| | | | | * config update * ARC now supports 'repr' and 'new' with finalizers is supported
* ic: update to serialize paddingAtEndAraq2019-09-051-1/+1
|
* disable IC and the SQLite dependency for version 1Andreas Rumpf2019-09-031-0/+2
|
* makes devel green againAndreas Rumpf2019-07-141-1/+3
|
* makes --styleCheck:error the default for the Nim compiler itselfAraq2019-07-141-0/+2
|
* disable the new CaseTransition warning for the Nim compiler itselfAraq2019-06-031-0/+4
|
* fixes #1286; object case transitions are now soundAndreas Rumpf2019-05-271-0/+1
|
* compiler/nim.cfg: cleanup --pathAraq2018-09-211-2/+0
|
* disable -d:nimIncremental for develAraq2018-06-111-1/+1
|
* incremental compilation subsystem compiles againAndreas Rumpf2018-05-301-0/+1
|
* compiler API: final cleanups; improve security by diabling 'gorge' and friendsAndreas Rumpf2018-05-291-1/+1
|
* Remove docgen.nim's dependency on things being in pathSamadi van Koten2016-11-281-2/+0
| | | | | | compiler/docgen.nim relied heavily on $lib/packages/docutils being in path at compile-time. While this works fine when building Nim itself, things start breaking when using compiler as a nimble package.
* changed the compiler's path handling; fixes #546Andreas Rumpf2016-05-311-1/+1
|
* preparations for Nimble NimScript integrations; minor cleanupsAraq2015-08-181-1/+0
|
* Rename compiler configuration file to fix "nim check" within the repoZahary Karadjov2015-08-031-0/+21
Prior to the change, "nim check" would fail on any file besides the main nim.nim, because the include paths for the documentation were not set correctly and this produced various compilation errors.