annotate service/iot2/esp32_main/panicoverride.nim @ 1562:c2ed44ed1e3c dependabot/pip/service/collector/twisted-19.7.0

Bump twisted from 19.2.0 to 19.7.0 in /service/collector Bumps [twisted](https://github.com/twisted/twisted) from 19.2.0 to 19.7.0. - [Release notes](https://github.com/twisted/twisted/releases) - [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst) - [Commits](https://github.com/twisted/twisted/compare/twisted-19.2.0...twisted-19.7.0) Signed-off-by: dependabot[bot] <support@github.com>
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
date Fri, 14 Feb 2020 10:01:26 +0000
parents 44aae4efedf6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1528
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1 proc printf(frmt: cstring) {.varargs, importc, header: "<stdio.h>", cdecl.}
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2 proc exit(code: int) {.importc, header: "<stdlib.h>", cdecl.}
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4 {.push stack_trace: off, profiler:off.}
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
5
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
6 proc rawoutput(s: string) =
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 printf("%s\n", s)
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
8
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
9 proc panic(s: string) =
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
10 rawoutput(s)
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
11 exit(1)
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
12
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
13 {.pop.}